Vbscript / User Interaction / Browse For Folder Dialogue Box
Uses the Windows explorer browse file dialogue box to select a folder.
Set objShell = CreateObject ("Shell.Application") Set objFolder = objShell.BrowseForFolder (0, "Select Target Folder", (0))
Wscript.Echo "Path: " & objFolder.Items.Item.Path
Please note that a disclaimer applies to any code on this page.
|