coolbeansdude51 Posted January 22, 2007 Report Share Posted January 22, 2007 Hello all,First time post. I have a quick question. I am wondering how can you connect to a server with DOS. I trying to make a bat file that will allow people to input there username and password then it connects them to the server. That is all. I know how to get the variables from the user but connecting to the server is still alluding me. I am running Windows XP SP2Any help or guidance would be greatly appreciated!Thanks! Quote Link to comment Share on other sites More sharing options...
cozofdeath Posted January 22, 2007 Report Share Posted January 22, 2007 Do you mean something like the "NET" tools? Would "net print //machine" work. Quote Link to comment Share on other sites More sharing options...
coolbeansdude51 Posted January 23, 2007 Author Report Share Posted January 23, 2007 No that wont work. What we are trying to do is have a bat script run when the user logs in. A command prompt will come up asking for the user's username an password once they have enter both of those items then they will need to be connect to a server. The server has connected printers on it. So connecting to the server would be connecting to all of the printers on our campus. Does that make sense? Thanks for the help!Do you mean something like the "NET" tools? Would "net print //machine" work. Quote Link to comment Share on other sites More sharing options...
jason.b.c Posted January 24, 2007 Report Share Posted January 24, 2007 There are some interesting things on THIS PAGE for DOS... Quote Link to comment Share on other sites More sharing options...
coolbeansdude51 Posted January 24, 2007 Author Report Share Posted January 24, 2007 Thanks for the link. For some reason that didn't work. But the command that I was looking for was the net use command.Thanks for the help!There are some interesting things on THIS PAGE for DOS... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.