Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Map Drive in Login Script and Startup folder shortcut

Status
Not open for further replies.

JohnnyL

IS-IT--Management
Sep 21, 2000
23
GB
Hi All

I'm having a problem with XP Pro on a W2K domain. My users login to the domain, which runs a login script mapping drive g: to our goldmine server. There is also a shortcut in the startup folder of the client to launch the Goldmine client.

The problem is that the XP client launches the Goldmine client from the startup folder before the login script has finished mapping, resulting in an error because it cant the BDE config on G:. Of course, by the time this happens the login script is completed and the user can acknowledge the error and rerun the Goldmine client manually.

Is there anything I can do to make XP wait until the login script has completed before going ahead and running the startup folder shortcuts?

The scipt (batch file) is...
@echo off
net use g: \\axgoldmine\gmsystem /yes /persistent:yes
net time \\dellserver /set /y

Any help greatly appreciated.
Thanks
John
 
How about to start Goldmine client from login script?

===
Karlis
ECDL; MCSA
 
Thanks Karlis,

The same thought occurred to me last night. I'll change the script to check that Goldmine Client exists, then run the exe from the script.

We're Brilliant!

Thanks for your help.
John
 
Ah, one small snag though.

@echo off
net use g: /delete
net use g: \\axgoldmine\gmsystem /yes /persistent:yes
net time \\dellserver /set /y
if exist c:\goldnet\gmw6.exe c:\goldnet\gmw6.exe
exit

The batch file stays open while the goldmine client runs.

Is there any way I can get the batch file to run the goldmine client, and close itself?

Thanks
John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top