Prev: How to pass argument to VBScript NOT via WScript
Next: VB Script - Check user for default password on remote workgroup machine
From: David C. Holley on 11 Dec 2009 09:35 The script runs from withing a .HTML page that I have setup as a Folder Home Page within Outlook and crapped out without explicity stating the program name. "Todd Vargo" <tlvargo(a)sbcglobal.netz> wrote in message news:eey4W6heKHA.1652(a)TK2MSFTNGP05.phx.gbl... > mayayana wrote: >> In addition to Todd Vargo's points, you >> don't need to call Explorer at all. Just: >> >> objShell.Run "C:\whatever" > > That depends on whether explorer view or folder view is desired. > > Note, I missed that OP did not include a comma after the /e. The comma is > required to open the folder in explorer view. Without it, explorer just > opens in the root of C: as was described. > > objShell.Run "explorer.exe /e, " & target > > -- > Todd Vargo > (Post questions to group only. Remove "z" to email personal messages) > |