Computing.Net > Forums > Windows 2000 > Net Use Command

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.

Net Use Command

Reply to Message Icon

Name: jenir
Date: November 19, 2002 at 15:56:59 Pacific
OS: W2K
CPU/Ram: PIII/500 128mb
Comment:

Hello.

I am trying to use the net use command to capture a printer port for a DOS program I run on my Windows 2000 PC. However, I get a network name cannot be found error. I think it may be due to the fact that the name of my server where the printer is installed has a space in the name. I am trying:

net use lpt2 \\my server\hp4000 /persistent: yes

Any suggestions?

Thanks.



Sponsored Link
Ads by Google

Response Number 1
Name: dude
Date: November 19, 2002 at 20:11:03 Pacific
Reply:

if your server is called "my server" then maybe you need to use:

net use "\\my server\..."

with the "" if the server name is just one word, then, i guess just check the share name of printer, or create another share for the printer because I have seen shares become corrupt before.



0

Response Number 2
Name: Ardnerus
Date: November 19, 2002 at 20:31:59 Pacific
Reply:

I believe that computer names cannot have symbols like $,%,& etc and spaces in their names, so how come your computer name is "my server"??? Are you sure that's your computer name? Maybe you could try using it's IP address instead assuming you are using TCP/IP protocol in your network.

Regards,
Ardnerus

>>


0

Response Number 3
Name: jenir
Date: November 20, 2002 at 06:22:09 Pacific
Reply:

Using the "" worked!

Thanks!!!


0

Response Number 4
Name: Rick
Date: November 20, 2002 at 06:33:34 Pacific
Reply:

In win9x and above share names can have spaces, but not dos, hence her error msg. Putting the name in quotes forces dos to see the name as a text string which will allow dos to use it with the space.



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Net Use Command

Net Use command with username www.computing.net/answers/windows-2000/net-use-command-with-username/51892.html

net use command help! www.computing.net/answers/windows-2000/net-use-command-help/60884.html

NET USE COMMAND www.computing.net/answers/windows-2000/net-use-command/35468.html