Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms

NT_Scripts

How do I create group login scrips in NT 4.0.

(Useful batch file links click here or here

How you do this is mostly dependant on the clients on your network. If you've got all NT clients, then the first example is fine. However, if you've got 9x clients you'll need to use the KixTart environment.

One way is using ifmember.exe from the NT Resource Kit by including something like this in your logon script:
:sales
ifmember sales
if not errorlevel 1 goto marketing
net use x: \\server\salesshare$
goto end

:marketing
ifmember marketing
if not errorlevel 1 goto others
net use x: \\server\mktgshare$
goto end

:others
net use x: \\server\othershare$
goto end

:end