Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Show Users a Dialog Box That Only Lets Them Select FoldersContent of Show Users a Dialog Box That Only Lets Them Select Folders.vbsMD5 Hash: 6D07E60DEDA090A4D8791220786AC4F5 |
||
Const WINDOW_HANDLE = 0
Const OPTIONS = 0 Set objShell = CreateObject("Shell.Application") Set objFolder = objShell.BrowseForFolder _ (WINDOW_HANDLE, "Select a folder:", OPTIONS, "C:\") If objFolder Is Nothing Then Wscript.Quit End If Set objFolderItem = objFolder.Self objPath = objFolderItem.Path Wscript.Echo objPath | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |