pjw
(Lurker)
2003-06-20 04:31 PM
Script won't Map certain drive letters

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


Les
(KiX Master)
2003-06-20 05:15 PM
Re: Script won't Map certain drive letters

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


Sealeopard
(KiX Master)
2003-06-20 05:29 PM
Re: Script won't Map certain drive letters

Additionally, use any of the MapDrive() UDFs that have been posted in the UDF Forum.

pjw
(Lurker)
2003-06-20 07:59 PM
Re: Script won't Map certain drive letters

Thank you soooo much...It's always the small things that will get you...