![]() Loading |
| VBScript |
| JavaScript |
| Powershell |
Search Options: Determine the Drive Letter for the Drive My Script is Currently Running On
|
||
|
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("Wscript.Shell") strPath = objShell.CurrentDirectory strDrive = objFSO.GetDriveName(strPath) Wscript.Echo strDrive | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: | ||