Results 1 to 6 of 6

Thread: Default Folder

  1. #1
    Silver Lounger
    Join Date
    Jul 2001
    Location
    Ottawa, Ontario, Canada
    Posts
    1,609
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Folder

    Can anyone tell me how to control the folder which is opened by default when launching Windows Explorer?
    Regards
    Don

  2. #2
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Default Folder

    You need to create a new shortcut with typically this as the target:<pre>%SystemRoot%explorer.exe /n, /e,c:</pre>

    The "c:" tells Explorer to open in C drive

    See MSKB 152457: Windows Explorer Command-Line Options for more info.
    Attached Images Attached Images
    • File Type: png x.png (17.6 KB, 0 views)

  3. #3
    Silver Lounger
    Join Date
    Jul 2001
    Location
    Ottawa, Ontario, Canada
    Posts
    1,609
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Default Folder

    Leif
    Thanks for the speedy response. Now I need the same capability in XP. Any thoughts?
    Regards
    Don

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 16 Times in 16 Posts

    Re: Default Folder

    See Explorer.exe Command-Line Options for Windows XP - it's the same, despite the strange formatting of the MSKB page.

  5. #5
    Silver Lounger
    Join Date
    Jul 2001
    Location
    Ottawa, Ontario, Canada
    Posts
    1,609
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Default Folder

    Thank you all.
    Regards
    Don

  6. #6
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Default (Mapped) Folder

    One final thought as it is something I only came across the other day...

    I created a new folder on my start menu with a list of networked folders that I frequently need to browse. The main sub-folder (Product) on the networked drive I have mapped as "P", with further sub-folders of "1", "2", etc.

    Initially, the only way I could get the shortcut to work was to use the full UNC path in the shortcut, e.g.:<pre>"%SystemRoot%explorer.exe /n, /e,DataserverProduct1</pre>

    However, this had the unfortunate result of opening Explorer with the Folder window (left-hand pane) expanded through
    My Network Places
    - Microsoft Windows Network
    - - ServerName
    - - - DriveName
    - - - - Sub-FolderName
    instead of simply showing the mapped drive as a drive on "My Computer"

    If you want to (simply!) display a mapped drive, you *can* use the mapping letter, but the path needs to be enclosed in quotes thus:<pre>%SystemRoot%explorer.exe /n, /e,"P:1"</pre>


Posting Permissions

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