vbs noob

Associate
Joined
16 May 2004
Posts
1,902
Location
Near Chester
im just trying to create a vbs script for my version of pro evo, basically i have 2 diffferent patches, and i have created 2 scripts to rename the folders and option files to enable the different patches, but wanted to create a script that "if" the folder is "unic" then launch the championship script which i already have created, but "if" the folder is "unin" then launch the normal script that i have created. hope this us understandable, lol, and cheers for any help!
 
i have used this....

@Echo off
cd "C:\Program Files\KONAMI\Pro Evolution Soccer 6\kitserver\GDB\facesc"
if not errorlevel 0 goto success

"C:\Program Files\KONAMI\Pro Evolution Soccer 6\Play Championship.vbs"

:success
"C:\Program Files\KONAMI\Pro Evolution Soccer 6\pes6c.exe"

:end

but it executes both whatever!? and reports "afs error", but if i launch the executable independanly it dosn't report an error! excuse my awful programming skills! lol
 
Back
Top Bottom