Solved

batch login

Posted on 2010-08-25
4
634 Views
Last Modified: 2013-11-11
Hello,

I am trying to get a batch file to login to a network drive with a special username / password.

This is what I have

echo y | net use g: /delete
net use g: \\rtb2003\apps
net user scc
net password ****

it isnt working for some reason. Any help would be great.

Thanks
Matt
0
Comment
Question by:MattBamm
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 6

Expert Comment

by:fluk3d
ID: 33519913
net use w: \\myserver\fileshare /user:MyID MyPassword
0
 
LVL 4

Accepted Solution

by:
GO-87 earned 500 total points
ID: 33519922
Try:
echo y | net use g: /delete
net use g: \\rtb2003\apps  ****  /user:scc
 
0
 

Author Closing Comment

by:MattBamm
ID: 33519940
Thanks
0
 
LVL 4

Expert Comment

by:GO-87
ID: 33519954
Thank you for the points, Matt
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
This article summaries thoughts and ideas from two years of sustained use. It provides good reasoning to make the jump to Windows 10.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question