Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Dan Elkins on September 18, 2000, 06:36:18 AM

Title: netlogon.bat
Post by: Dan Elkins on September 18, 2000, 06:36:18 AM
Does anybody have any netlogon.bat files that work that I could use as an example.  I tried using the bat file with stuff like "net use E: \server\ibay" and it wouldn't work.  Also, how do you use variables like user?

Thanks,

Dan
Title: RE: netlogon.bat
Post by: Doyle Glaze on September 26, 2000, 06:30:24 AM
Yes, Does anyone have the proper syntex for the netlogon.bat. The dos syntex does not work.

Thanks Doyle
Title: RE: netlogon.bat
Post by: Charlie Brady on September 26, 2000, 06:56:53 AM
Doyle Glaze wrote:

> Yes, Does anyone have the proper syntex for the netlogon.bat.
> The dos syntex does not work.

The DOS syntax certainly should work. If it seems that it does not work, then the problem is probably in the line terminators. netlogon.bat lines must end with a carriage return-line feed pair to match the DOS convention - the normal linux line terminator of newline will not work.

An easy workaround is to prepare a file called netlogon.bat in one of your ibays using a DOS or windows text editor, then copy into the correct location for the netlogon share.

Charlie