9 replies
by lsasikumar
by donalconlon
You can use notepad to write logon scripts.
Enter your commands in a notepad file e.g. to map a drive you would the net use command and save your file with the .bat extension. Place your bat file in the c:\winnt\system32\repl\import\scripts folder
by lsasikumar
by jsarinana
Here's an example that works for me:
@echo off
@Echo Mapping your KSN INC standard network drives
REM knet.bat standard mapped drives H, L, M, N, P, R, S 090401
@net use h: /delete /yes >nul
@net use l: /delete /yes >nul
@net use m: /delete /yes >nul
@net use n: /delete /yes >nul
@net use p: /delete /yes >nul
@net use r: /delete /yes >nul
@net use s: /delete /yes >nul
@net use h: \\home\%USERNAME% /yes
@Echo Mapping H: (HOME drive)...
@net use l: \\ksn-inc\library /yes
@Echo Mapping L: (Library server)...
@net use m: \\gis\server /yes
@Echo Mapping M: (GIS server)...
@net use n: \\plotroom\d /yes
@Echo Mapping N: (Plotroom server)...
@net use p: \\ksn3\proj /yes
@Echo Mapping P: (Project server)...
@net use r: \\ksn2\raw /yes
@echo Mapping R: (Raw server)...
@net use s: \\ksn-inc\share /yes
@echo Mapping S (Share drive)...
net time \\ksn-inc /set /yes
@echo Hello %USERNAME, Welcome to the KSN INC. network
works for NT & Win2000, for Win98 I replaced %USERNAME% with the users name.
by lsasikumar
by curlergirl
by lsasikumar
by lsasikumar
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending