
wscript cant find .vbs file from NT logon batch
wscript cant find .vbs file from NT logon batchWe had this problem on certain 9x machines. We solved it by placing a small job after the wscript line to make sure z: stayed mapped long enough. Such as
dir c:\windows\system /s >null
-Mark
We have a few w98 machines which will not find the .vbs file whem called from an nt logon batch file. Wscript returns an error that the .vbs file is not found even though the file seems to be available.
If the user continues to logon to windows, loggs off and re-logs in a second time, wscript usually finds the file second time.
Help would be appreciated.
Below is the last lines of the nt command batch
Note: the .vbs file is seen to exist by the batch even though wscript reports the error.......
:W9X
REM this is a test to see if w95 will authenticate
echo looping w9x
dir z:\gitlogin.vbs
if not exist z:\gitlogin.vbs goto W9X
call wscript z:\gitlogin.vbs