Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-30-2003, 07:19 PM   #1 (permalink)
ADZ
 
Master Techie

Join Date: May 2003

Posts: 2,233

ADZ is on a distinguished road

Send a message via Yahoo to ADZ
Default Mapping Network Drive

I have mapped a network drive a zillion times, but I have a program that needs access to a specific program that I have mapped to my 'T' drive.

When I reboot the machine, it has a red X thru it. If i double click on it, it connects fine. It just wont connect @ startup. I have re-created the mapped drive a couple of times. Still hasnt done it.

I have also re-installed the program that requires the mapped network drive, just in case that was the issue.

Any suggestions?
ADZ is offline  
Old 12-31-2003, 01:50 AM   #2 (permalink)
 
Ultra Techie

Join Date: Nov 2003

Posts: 774

RyanOldw83

Send a message via AIM to RyanOldw83
Default

Drop a batch file in your startup folder.
give it the line
NET USE D: \\PuterName\Drive /yes
Should work maybe? Good luck.
__________________
Windows XP PRO:$0, Visual Studio 6:$0, Age of Empires 2:$0, Halo:$0.
Having $100s in free MS software while people are being sued over $.99 songs: Priceless
RyanOldw83 is offline  
Old 12-31-2003, 02:33 PM   #3 (permalink)
 
Master Techie

Join Date: Oct 2003

Posts: 2,258

Inaris

Default

you should add the /persistent switch to it so that it stays connected all the time. Full batch should looks like this...

net use x: \\server\driver /delete
net use x: \\server\driver /persistent:yes

Like Ryan said, drop it into the start up and this way the connection will always be fresh. The /delete is used to refresh the connection and the persistent it just to enforce the property.
takes like 2 seconds to run so this should be good for you.
Inaris is offline  
Old 01-02-2004, 02:17 PM   #4 (permalink)
ADZ
 
Master Techie

Join Date: May 2003

Posts: 2,233

ADZ is on a distinguished road

Send a message via Yahoo to ADZ
Default

How do you create a batch file??? and where do you put it? I have never created on before!
ADZ is offline  
Old 01-02-2004, 08:16 PM   #5 (permalink)
 
Wizard Techie

Join Date: Jul 2003

Posts: 3,940

ekÆsine

Default

this is from the days of DOS. they are text files with extension .BAT ,they are still very powerful today. batch accept most dos commands.
ekÆsine is offline  
Old 01-05-2004, 06:49 PM   #6 (permalink)
 
Master Techie

Join Date: Oct 2003

Posts: 2,258

Inaris

Default

right click the desktop, new, text file. Rename the file to run.bat, and click yes on the file type change dialog.
Then place the text in the file that was mentioned before. Then place the file in the startup folder on the start menu.
That will run every time the machine reboots.
You can also place it in the registy so that it runs as the GUI loads. HKLM\software\microsoft\windows\currentversion\run is the key to place things in for that reason.

Good luck
Inaris is offline  
Old 01-06-2004, 04:38 AM   #7 (permalink)
 
Newb Techie

Join Date: Jan 2004

Posts: 14

Escher

Default

Win XP pro right?

I suggest adding the Mapped drive to your QuickLaunch bar, through th control panel, so as the computer is loading, it will check out that path. This is what I consider a simple solution.

Regards.
Escher is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On