Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run( "%windir%\notepad " & WScript.ScriptFullName )
Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run( "zip.exe -r homepage D:\nifty\homepage" ) MsgBox("OK")
Set WshShell = WScript.CreateObject("WScript.Shell") Call WshShell.Run( "zip.exe -r homepage D:\nifty\homepage", , True ) MsgBox("OK")
Set WshShell = WScript.CreateObject("WScript.Shell") Call WshShell.Run( "zip.exe -r homepage D:\nifty\homepage", 0, True ) MsgBox("OK")
Set WshShell = WScript.CreateObject("WScript.Shell") Call WshShell.Run( "cmd.exe /c homepage.bat", 0, True ) MsgBox("OK")
zip.exe -r homepage D:\nifty\homepage