Code Script .co.uk

Home | Scripts | Tutorials | Disclaimer | Sitemap | Contact

   Browse For Folder Dialogue Box
 

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.
 
   Actions
  Go Back
  Bookmark
  Print Page


   Menu
 
- Links
- Reference
- Script Editors
- Tutorials
- Vbscript
     - Active Directory
     - Exchange
     - Files And Folders
     - General
     - Ms Office
     - Operating System
     - Processes And Services
     - Text Processing
     - User Interaction
          - Browse For File Dialogue Box
          - Browse For Folder Dialogue Box
          - Convert Byte Value To Kb-mb-gb-tb
          - Copy Text To Clipboard
          - Select Option Popup Dialogue
     - Web Servers