Computing.Net > Forums > Windows NT > Batch login scripts

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Batch login scripts

Reply to Message Icon

Name: patrick
Date: April 5, 2001 at 06:21:02 Pacific
Comment:

Does any one know what symbol to use to replace a space in a login script. It's for mapping a mac volume so I don't want the inevitable hassle that will ensue by renaming it without spaces.



Sponsored Link
Ads by Google

Response Number 1
Name: Muhammad Gohar
Date: April 9, 2001 at 06:23:58 Pacific
Reply:

How to create login Scripts to Map Network Drives & Printers.


0

Response Number 2
Name: Patrick
Date: April 10, 2001 at 06:12:54 Pacific
Reply:

create a batch file: Open a command prompt and type edit .bat. Type net use x: \\\ where x: is the drive letter you want to assign. For printers type net use LPTx: \\\ where x is the LPT port you want to assign it to. Save the batch file and place it in the folder winnt\system32\repl\import\scripts. In the user properties in user manager click the profile button and enter the logon script name in the line of the same name.

If anyone has any information on my initial query I'd be more than grateful.


0

Response Number 3
Name: Bob
Date: April 14, 2001 at 19:12:38 Pacific
Reply:

Just use quotes man. Ie:

net use "\\mac\share folder"
or
net use \\mac\"share folder"


0

Response Number 4
Name: Patrick
Date: May 28, 2001 at 10:00:46 Pacific
Reply:

Thanks Bob,

The first example worked.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


No enough environment sap... NT printers



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows NT Forum Home


Sponsored links

Ads by Google


Results for: Batch login scripts

NT4 Login script CHANGES www.computing.net/answers/windows-nt/nt4-login-script-changes/10684.html

login script for changing proxy settings www.computing.net/answers/windows-nt/login-script-for-changing-proxy-settings/13160.html

Login scripts NT4 www.computing.net/answers/windows-nt/login-scripts-nt4/19524.html