Solved

batch login

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
How to record audio from input sources to your PC – connected devices, connected preamp to record vinyl discs, streaming media, that play through your audio card: Vista, Windows 7, Windows 8, Windows 8.1 and Windows 10 – both 32 bit & 64.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

786 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