Discussion Locked

Trying to find a batch file that can...

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

(I posted again since I received an error the first time if a copy I appologise)

...do two things:
One- auto logon to my mapped network drive on server after bootup

Two- after logon to mapped drive auto start my main workstation program.

is this even possible with a batch file or do I have to try looking for something else?

Server is windows server 2003
workstations are all win xp pro

Thanks for any help that you can offer

3 replies

by whalescwh

1. put into your autoexec.bat this:
net use f: \\servername\sharefolder\ pwd /user:uname
where pwd is password and uname is username

2. call you program to run:
f:\abc.exe

is that what you want?

by zoediak1

thank you for your prompt reply, I guess I was just over thinking it and it looks rather simple.

that looks like what I am trying to get it to do thanks...
I will give it a try and see how it works.

by mayuresh.annegiri

1)For mapping a common group drive for particular department:
net use G: \\server_name\folder_name >NUL:
2)For mapping a home drive which will be confidential for user:
net use H: \\server_name\folder_name% >NUL:

This discussion is closed to new replies.