The wscript.Application object

Provides access to any Application, opening a folder will open Windows Explorer.

Syntax 
      Set objApp = CreateObject("Wscript.Application") 

Methods

   .BrowseForFolder(0, strPrompt, Options, strRoot)
   .Open "\\servername\folder\"

Examples

Dim objApp
Set objApp = WScript.CreateObject("WScript.Application")
objApp.open "\\Server64\folder1"

“It is possible to store the mind with a million facts and still be entirely uneducated” ~ Alec Bourne

Related VBScript commands

Shell.Application objects/methods.


 
Copyright © 1999-2024 SS64.com
Some rights reserved