d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Optiontips.in
Add Reply New Topic New Poll
Member
Posts: 1
Joined: Aug 22 2012
Gold: 0.00
Aug 22 2012 05:15am


I need to call cscript.exe from the c:\windows\sysnative folder. My script is unhappy with trying to use this folder since it's a hidden path. My script is posted below. This does work with a batch file but it leaves a command window open. I want to use vbscript so there are no windows in view. I get an error stating "The system cannot find the file specified" at the line where I am trying to run c:\windows\sysnative. Any ideas on how to get this working?
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
Aug 22 2012 11:09am
rename your batch file to .cmd and see if the command window disappears. iirc there's something weird between .bat and .cmd files on the different windows versions. the window should always disappear after it's done.

i'm surprised you signed up to a gaming site just to ask this question. i'd be even more surprised if you actually came back to see if anyone responded.
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll