Results 1 to 4 of 4

Need to open My Computer in Windows Explorer

Threaded View

Launchnet Need to open My Computer in... 11-19-2009, 10:58 PM
Marzuk Re: Need to open My Computer... 11-19-2009, 11:51 PM
Launchnet Re: Need to open My Computer... 11-20-2009, 12:18 AM
Launchnet Re: Need to open My Computer... 11-21-2009, 01:31 AM
  1. #1
    Valued Forum Contributor
    Join Date
    09-04-2007
    Location
    Ontario, Ca
    Posts
    624

    Need to open My Computer in Windows Explorer

    The following 3 macros do the following.

    1st macro . . . When the button is clicked for this macro, Windows Explorer is opened and the folder MyMenuFiles is selected. Works Fine.

    2nd macro . . . When this button is clicked, the windows explorer opens with My Documents selected. Works Fine.

    3rd macro . . . THIS IS THE PROBLEM ONE.
    When this button is clicked, windows explorer opens, with the C:\ drive selected. I want My Computer selected.

    Sub WindowsExplorer()
    Shell "Explorer.exe /e,c:\MyMenuFiles", vbNormalFocus
    End Sub
    
    Sub MyDocs()
    Shell "Explorer.exe /e,c:\Documents and Settings\default\My Documents", vbNormalFocus
    End Sub
    
    Sub MyComputer()
    Shell "Explorer.exe /e,c:\", 1   'vbNormalFocus   '
    End Sub
    Last edited by Launchnet; 11-21-2009 at 01:32 AM.
    Thanks for helping . . .
    Matt @ Launchnet

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