Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with attributes

Status
Not open for further replies.

vtechv

Technical User
Feb 15, 2007
30
US
A while back I found a tip that I use all the time with explorer.exe shortcuts. In the properties - Target I add

/n, /e, /select, C:\ (or whatever path I want)

I'm curious what those attributes are and where I can find a comprehensive list of all attributes that can be used there along with explanations of course. I've done searches in this forum as well as on the MS site but am probably not finding what I'm looking for because I don't know how to word the search properly.

Thanks in advance

V
 
Quick search I found this hope it helps

The basic syntax is

Explorer [/n][/e][,/root,(object)][[,/select],(sub object)]

/n opens a new single-paned window (as we reported in a recent tip).
/e opens Explorer in the standard view at the current folder.
/root,(object) opens at the specified root level.
/Select, Folder tells Explorer which folder gets the focus.
/select,(filename) tells Explorer which file gets the focus.

If you want to open Explorer in desktop view, right-click the Windows NT Explorer shortcut and choose Properties. Now click the Shortcut tab and enter

%SystemRoot%\explorer.exe /e,/root,

into the Target text entry box and click OK.

Let's suppose that you'd like Explorer to open in your data folder. Right-click the Explorer icon and choose Properties. Click the Shortcut tab and enter

%SystemRoot%\explorer.exe /select, c:\data

and click OK. To open Explorer in the data folder, enter

%SystemRoot%\explorer.exe /e /select, c:\data

and click OK.

You can even have Explorer select a specific file for you. For example, if you'd like to select the Calculator when Explorer opens, you'd right-click the Explorer icon, choose Properties, click the Shortcut tab, and enter

%SystemRoot%\explorer.exe /select,c:\winnt\system32\calc.exe

If your installation isn't on Drive C, enter the drive letter that you use.
 
How To Customize the Windows Explorer Views in Windows XP

152457 - Windows Explorer Command-Line Options

130510 - Command-Line Switches for Windows Explorer

Windows XP Your Way- Useful Shortcuts and Commands for Windows Explorer
 
Thank you GrimR. That's exactly what I was looking for.
 
Missed you post linney, it looked like an add. Wonderful links. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top