Question : Batch file as Login Script

Hi,
1. I have a system that consists of 3 computers (dc1, dc2 and dc3).
2. DC1 is domain controller & Active Directory is enabled; DC3 is a member server (as a file server), and dc2 is a client (workstation).
3.All are in the same domain called "domain1".
4. I create a batch file for "accounting department" (accounting.bat) as follows:

@echo off
If exist C:\Windows\command\fdisk.exe goto win9x
Title BOBA login script
Net use u: /home
Net use p: \\dc3\public /persistent:no
Net use E: \\dc3\accounting /persistent:no

5. Under the "login script" of the accounting user profile, i specify "accounting.bat"
6. When i login as a user of the accounting department, i only get the P: drive [public on dc3(p:)], but I DO NOT GET the U: drive and E: drive
7. Somebody can help to correct my BAT file
8. Thank you

Tjie

Answer : Batch file as Login Script

DMTechGrooup, /home is a special case, it will map to the root of the home directory you specify in the user account.
----------------------
U:\>net use j: /home
Drive j: is now connected to \\server\users. Your home directory is j:\username.
----------------------
Random Solutions  
 
programming4us programming4us