The "net use" command

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
George1000
Posts: 4
Joined: 21 Aug 2014 09:04

The "net use" command

#1 Post by George1000 » 02 Sep 2014 06:52

How can I connect to a computer through the internet using "net use" and its ip?

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: The "net use" command

#2 Post by foxidrive » 02 Sep 2014 07:53

George1000 wrote:How can I connect to a computer through the internet using "net use" and its ip?


It will not work over the Internet.

George1000
Posts: 4
Joined: 21 Aug 2014 09:04

Re: The "net use" command

#3 Post by George1000 » 03 Sep 2014 06:50

So, when can I use this command?
Also, is there other command instead, that will help me?

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: The "net use" command

#4 Post by foxidrive » 03 Sep 2014 10:51

Describe what you need to do and someone may help you with a solution.

George1000
Posts: 4
Joined: 21 Aug 2014 09:04

Re: The "net use" command

#5 Post by George1000 » 06 Sep 2014 07:56

I have two computers cinnected to the same modem with a printer connected to the one. The problem is that I can't find the printer through Windows from the other computer so that I'll be able to print documents from both computers. So I decided to try dos but I haven't managed to use it right yet.

Squashman
Expert
Posts: 4488
Joined: 23 Dec 2011 13:59

Re: The "net use" command

#6 Post by Squashman » 06 Sep 2014 09:08

Your problem has nothing to do with the Internet at all. Nor is this really a cmd shell problem or batch file problem. You are better off setting this up through Windows. I suggest you post your question on a different forum. Techguy.org and ComputerHope.com are really good sites to help with problems like these.

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: The "net use" command

#7 Post by foxidrive » 06 Sep 2014 09:25

As a test - disable the Windows firewalls on both computers and any third party firewall if you have one running (so they will not be an issue during testing) and then try and find the printer.

Make sure the printer is shared first.

The modem is one with 4 network ports that the computers are connected to, right? Not one that uses a USB port for one computer?

Squashman has given you good sites to try - I just gave you a couple of pointers to help.

George1000
Posts: 4
Joined: 21 Aug 2014 09:04

Re: The "net use" command

#8 Post by George1000 » 12 Sep 2014 07:29

Thank you very much.

Post Reply