wscript cant find .vbs file from NT logon batch 
Author Message
 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


  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.......

  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

Fri, 21 Jun 2002 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. wscript cant find .vbs file from NT logon batch

2. Logon Batch to call a VBS that calls another batch

3. Running VBS Script Via Logon Batch File

4. How do I run a .vbs file a NT logon script

5. Converting A Logon Batch to a .VBS script

6. Finding NT logon server name

7. how to execute a batch file into a VBS file

8. How do you pass parameters from a batch file to a VBS file

9. Logon Script - Launched from BATCH file.

10. Problems using WScript to execute a batch file

11. Wscript.quit and ErrorLevel on 9x batch file

12. Printing text file on postscript printer from NT batch job


Powered by phpBB® Forum Software