Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Determine the Path to the Folder Where a Script is RunningContent of Determine the Path to the Folder Where a Script is Running.vbsMD5 Hash: E95070D0F6F0CE60BF94179FF5FEDA38 |
||
Set objShell = CreateObject("Wscript.Shell")
strPath = Wscript.ScriptFullName Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.GetFile(strPath) strFolder = objFSO.GetParentFolderName(objFile) strPath = "explorer.exe /e," & strFolder objShell.Run strPath | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |