Page 1 of 1 1
Topic Options
#75527 - 2003-06-20 04:31 PM Script won't Map certain drive letters
pjw Offline
Lurker

Registered: 2003-06-20
Posts: 2
I am hoping this is something really basic I am overlooking...I am trying to map a v drive to a particular server, but for some reason it will not map as v:\, w:\ or y:\...I can get it to map all other drives without a hitch...Please help if you have seen this before, or if anyone knows a workaround...Script below...I:\ maps, v:\ won't

If InGroup("TechServ")
Use i: /Del
Use i: "\\server1\share"
EndIf

If InGroup("TechServ")
Use v: /Del
Use v: "\\server1\share"
EndIf

Top
#75528 - 2003-06-20 05:15 PM Re: Script won't Map certain drive letters
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
If the drive was previously mapped as persistent, you need to use the persistent switch to delete it. In fact you can use the persistent switch with impunity regardless of whether it was previously mapped as persistent.

Use v: /Del /Persistent
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#75529 - 2003-06-20 05:29 PM Re: Script won't Map certain drive letters
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
Additionally, use any of the MapDrive() UDFs that have been posted in the UDF Forum.
_________________________
There are two types of vessels, submarines and targets.

Top
#75530 - 2003-06-20 07:59 PM Re: Script won't Map certain drive letters
pjw Offline
Lurker

Registered: 2003-06-20
Posts: 2
Thank you soooo much...It's always the small things that will get you...
Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
2 registered (morganw, mole) and 414 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.057 seconds in which 0.024 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org