+ Reply to Thread
Results 1 to 4 of 4

Shell function for opening windows explorer

  1. #1
    Registered User
    Join Date
    04-14-2006
    Posts
    73

    Shell function for opening windows explorer

    Here's a basic question:
    I'm using Shell "explorer", vbNormalFocus to open windows explorer, and when explorer opens it is pointing toward My Documents. I would like for it to point to My Computer instead, or possibly one of the other drives. What do I need to add?

  2. #2
    Tim Williams
    Guest

    Re: Shell function for opening windows explorer

    http://support.microsoft.com/kb/q130510/

    --
    Tim Williams
    Palo Alto, CA


    "racudd" <[email protected]> wrote in message
    news:[email protected]...
    >
    > Here's a basic question:
    > I'm using Shell "explorer", vbNormalFocus to open windows explorer, and
    > when explorer opens it is pointing toward My Documents. I would like
    > for it to point to My Computer instead, or possibly one of the other
    > drives. What do I need to add?
    >
    >
    > --
    > racudd
    > ------------------------------------------------------------------------
    > racudd's Profile: http://www.excelforum.com/member.php...o&userid=33508
    > View this thread: http://www.excelforum.com/showthread...hreadid=560105
    >




  3. #3
    PaulD
    Guest

    Re: Shell function for opening windows explorer

    Couple of options
    temp = Shell("EXPLORER.EXE /n,/e,/select,C:\", vbNormalFocus)
    will select C: on right but still have tree available on left

    temp = Shell("EXPLORER.EXE /n,/e,/root,C:\", vbNormalFocus)
    will force C to the root level of tree on left and show contents of C on
    right

    For more info on explorer switches check out
    http://support.microsoft.com/default...307856&sd=tech

    Paul D

    "racudd" <[email protected]> wrote in
    message news:[email protected]...
    :
    : Here's a basic question:
    : I'm using Shell "explorer", vbNormalFocus to open windows explorer, and
    : when explorer opens it is pointing toward My Documents. I would like
    : for it to point to My Computer instead, or possibly one of the other
    : drives. What do I need to add?
    :
    :
    : --
    : racudd
    : ------------------------------------------------------------------------
    : racudd's Profile:
    http://www.excelforum.com/member.php...o&userid=33508
    : View this thread: http://www.excelforum.com/showthread...hreadid=560105
    :



  4. #4
    Registered User
    Join Date
    04-14-2006
    Posts
    73
    Much thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1