Common batch file? Can you "call batch.bat" from netlogon batch?

Thomas Heiligenmann thomas.heiligenmann at t-online.de
Tue Dec 21 19:41:39 GMT 1999


You can make use of the %0 parameter to call batch files relatively to
your
originating batch file.
E.g. to call a file in the same directory:
call %0\..\other.bat

... to call a file one dir level higher: 
call %0\..\..\upper.bat

... etc.

--
Thomas


Steven Hildreth wrote:
> 
> Hi, wondering if I can setup a common batch that all users would use,
> along with their specific batch file.
> 
> I tried to "call batch_filename.bat" and it did not work.
> 
> I am wanting to create a series of maps and shares common to all in
> the company, and then setup each (some) of the users specific shares.
> 
> Thanks for any information.
> 
> Regards,
> Steven Hildreth
> Information Technology Manager
> Aprotex Corporation, http://www.aprotex.com
> "Proven Property Protection Since 1952"


More information about the samba-ntdom mailing list