<% main() Sub main() %> <% = AppTitle %> attrib -R g:\sj4web\*.* /S /D

cd \sj4web
\screnc.exe -f -xl *.asp

<% Dim fso Set fso = CreateObject("Scripting.FileSystemObject") Response.Write("" & "
" & vbCrLf) sFolderSearch(fso.GetFolder(Server.MapPath("/sj4web"))) %>
cd \sj4web
\screnc.exe -f include_top.txt -e asp
\screnc.exe include.js include_enc.js
\screnc.exe includesj.js includesj_enc.js
copy include_null.js include.js /Y
copy include_null.js includesj.js /Y

<% End Sub Sub sFolderSearch(myFolder) Dim mySubFolder With myFolder If .SubFolders.Count > 0 Then For Each mySubFolder In .SubFolders If InStr(mySubFolder, "datakanri") > 0 Or (InStr(mySubFolder, "data") = 0 And InStr(mySubFolder, "images") = 0) Then Response.Write("cd ") Response.Write(Replace(mySubFolder, "D:\InetPub\sj4websource", "\sj4web")) Response.Write("
" & vbCrLf) Response.Write("\screnc.exe -f -xl *.asp") Response.Write("
" & vbCrLf) Response.Write("
" & vbCrLf) sFolderSearch(mySubFolder) End if Next End If End With End Sub %>