• Log in or sign up for an account here: https://www.sythe.org/login

Batch .bat programing helps

Code:
Run.bat
@echo off
setlocal
set VBS=”%TEMP%\HideCmdWindow.vbs”
if exist %VBS% goto Runit
@echo dim obj, obj1, obj2, objArgument>%VBS%
@echo Set WshShell = WScript.CreateObject(”WScript.Shell”)>>%VBS%
@echo Set objArgument = Wscript.Arguments>>%VBS%
@echo obj = WshShell.Run(”AppStart.bat“, 0)>>%VBS%
@echo set WshShell = Nothing>>%VBS%
:Runit
set param=%*
set param=”%param:”=“`%”
cscript //nologo %VBS% %param%
endlocal

I'm not a php genius sorry if this isn't it.
 
Member of the Month Winner
Sythe's 10th Anniversary
Eww ... batch :P
I daresay Linux BASH is a lot better :D
 
Code:
Run.bat
@echo off
setlocal
set VBS=”%TEMP%\HideCmdWindow.vbs”
if exist %VBS% goto Runit
@echo dim obj, obj1, obj2, objArgument>%VBS%
@echo Set WshShell = WScript.CreateObject(”WScript.Shell”)>>%VBS%
@echo Set objArgument = Wscript.Arguments>>%VBS%
@echo obj = WshShell.Run(”AppStart.bat“, 0)>>%VBS%
@echo set WshShell = Nothing>>%VBS%
:Runit
set param=%*
set param=”%param:”=“`%”
cscript //nologo %VBS% %param%
endlocal

I'm not a php genius sorry if this isn't it.

This has nothing to do with php.
 
Runescape Gamblingrunescape gambling
Back
Top