Logon Batch to call a VBS that calls another batch 
Author Message
 Logon Batch to call a VBS that calls another batch

I have setup my domain group policy under the User Logon to run a batch
file.  This batch file calls a VBS script that parses the machine name and
then I want that to call another batch file in a subdirectory.  This works
fine when testing from command line, but will not work when logging in.  It
appears that the VBS script is call the file from the local drive and not
the login folder or locations.  Is there a way I can make the VBS script
call this file from the login Sysvol location of the actual files.

Also, can a local environmental be set on a machine via VBS or WSCRIPT.  I
could not find a way to set an environmental.  I found ways to get one that
already exist and how to delete one.

Thanks,
Joe Sargent



Sat, 06 Mar 2004 01:14:53 GMT  
 Logon Batch to call a VBS that calls another batch


Quote:
> I have setup my domain group policy under the User Logon to run a batch
> file.  This batch file calls a VBS script that parses the machine name and
> then I want that to call another batch file in a subdirectory.  This works
> fine when testing from command line, but will not work when logging in.
It
> appears that the VBS script is call the file from the local drive and not
> the login folder or locations.  Is there a way I can make the VBS script
> call this file from the login Sysvol location of the actual files.

I have found that the default directory on our clients at login script time
is "C:\Windows". Perhaps your VBScript should specify the complete path to
the desired secondary batch file.

/Al



Sat, 06 Mar 2004 10:18:35 GMT  
 Logon Batch to call a VBS that calls another batch
Does your client is using Win98? My Win98 Client also has this problem, if

Thanks
Raymond


Quote:
> I have setup my domain group policy under the User Logon to run a batch
> file.  This batch file calls a VBS script that parses the machine name and
> then I want that to call another batch file in a subdirectory.  This works
> fine when testing from command line, but will not work when logging in.
It
> appears that the VBS script is call the file from the local drive and not
> the login folder or locations.  Is there a way I can make the VBS script
> call this file from the login Sysvol location of the actual files.

> Also, can a local environmental be set on a machine via VBS or WSCRIPT.  I
> could not find a way to set an environmental.  I found ways to get one
that
> already exist and how to delete one.

> Thanks,
> Joe Sargent



Sun, 07 Mar 2004 12:31:22 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Direct logon script (no batch call)

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

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

4. Converting A Logon Batch to a .VBS script

5. Running VBS Script Via Logon Batch File

6. Batch calls vbscript and needs return

7. HELP! Call Script from a batch file

8. Call VBScribt with parameter from DOS Batch file

9. Call a batch file.

10. calling a batch file from script

11. Calling a batch file

12. calling batch files

 

 
Powered by phpBB® Forum Software