generally the line is:<br>
net use driveletter: \\servername\sharename<br>
<br>
also net use lpt1: \\servername\printername<br>
<br>
run them one after the other in a file called script.bat or whatever, stick it in the netlogon folder of the domain controller/s and specify that name in the login script of the user profile.<br>
<br>
Also check out net use /? for syntax.
If your clients are also NT you have the full power of the Windows batch language at you command. If all depends on what you want to do with a logon script? Do you have a specific procedure in mind? <br>
<br>
If you want a LOT of useful tips go to <A HREF="
If you want a very in depth reference buy "Windows NT Shell Scripting" by Tim Hill. <p> Jeff<br><a href=mailto: masterracker@hotmail.com> masterracker@hotmail.com</a><br><a href= > </a><br>
You could also use WSH from the Resource Kit. Windows Script Host give you much more functionality than simply a batch or cmd file can. It uses VBScript of JavaScript natively, but will also work with shell scripting such as Perl.
There is also a third party called scriptlogic which is used for more complex login scripts like traveling sales who visit multiple sites. <br>
<br>
The website is <A HREF="
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.