Solved

batch login

Posted on 2010-08-25
4
630 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
  • 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

Want to promote your upcoming event?

Are you going to an event? Are you going to be exhibiting at a tradeshow? Talking at a conference? Using a promotional banner in your email signature ensures that your organization’s most important contacts stay in the know and can potentially spread the word about the event.

Question has a verified solution.

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

Suggested Solutions

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
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 video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

920 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now