Substituting Drive Letters 
Author Message
 Substituting Drive Letters

Substituting Drive LettersoShell = CreateObject("wscript.shell")
oShell.Run "subst y: k:\%username%",0,True

--
Clarence

Win32Scripting....
No, not that other one..... THE ORIGINAL...
http://www.*-*-*.com/

On THIS site you will find everything you need to get up and running. A script repository with almost 400 FREE sample scripts, a downloads section with FREE COM objects for scripting, a library of reference materials and an online discussion lounge to provide community based technical support. Check it out.


  How can I use a command like subst y: k:\%username%

  in Windows Script Host?



Sat, 21 Sep 2002 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Substituting Drive letters

2. Substituting Drive Letters

3. CD-Rom Drive Letter

4. change Drive Letter

5. Change Drive Letter

6. Converting a network share spec into a path with drive letter

7. FileExist not working on all drive letters

8. Change CDROM drive letter via vbscript?

9. drive letter

10. Set/Change CD-ROM drive letter with VBS

11. Retrieving drive letters and paths on a CD using client side VBScript

12. next available drive letter

 

 
Powered by phpBB® Forum Software