Problem with command-line switches for explorer.exe

N

Norman Swartz

I have a directory on my c-drive, "Sony download", which in turn contains
dozens of subdirectories. I have placed a shortcut on my desktop to the
containing directory. It reads

%windir%\explorer.exe /n, /e, c:\Sony download

It doesn't work quite the way I want and expected it to. The directory
name "Sony download" is highlighted in the left-hand pane and is expanded
in the right-hand pane. But there is no plus-sign attached to the
directory name in the left-hand pane. Using command-line switches, how can
I recover the plus-sign or expand the directory in the left-hand pane?
 
T

TaurArian [MS-MVP]

%SystemRoot%\explorer.exe /e, /root, c:\sony download

If still not right -
HOW TO: Customize the Windows Explorer Views in Windows XP
http://support.microsoft.com/default.aspx?scid=kb;en-us;307856

Explorer.exe Command-Line Options for Windows XP
http://support.microsoft.com/default.aspx?scid=314853

--

====================================
TaurArian [MS-MVP] 2005-2007 - Australia
====================================
How to make a good post: http://www.dts-l.org/goodpost.htm
Backup and data recovery: http://www.acronis.com/
Enhancing file system performance: http://www.diskeeper.com/defrag.asp


|I have a directory on my c-drive, "Sony download", which in turn contains
| dozens of subdirectories. I have placed a shortcut on my desktop to the
| containing directory. It reads
|
| %windir%\explorer.exe /n, /e, c:\Sony download
|
| It doesn't work quite the way I want and expected it to. The directory
| name "Sony download" is highlighted in the left-hand pane and is expanded
| in the right-hand pane. But there is no plus-sign attached to the
| directory name in the left-hand pane. Using command-line switches, how can
| I recover the plus-sign or expand the directory in the left-hand pane?
 
B

Brian A.

Norman Swartz said:
I have a directory on my c-drive, "Sony download", which in turn contains
dozens of subdirectories. I have placed a shortcut on my desktop to the
containing directory. It reads

%windir%\explorer.exe /n, /e, c:\Sony download

It doesn't work quite the way I want and expected it to. The directory
name "Sony download" is highlighted in the left-hand pane and is expanded
in the right-hand pane. But there is no plus-sign attached to the
directory name in the left-hand pane. Using command-line switches, how can
I recover the plus-sign or expand the directory in the left-hand pane?

Try using %systemroot% in place of %windir%.

%systemroot%\explorer.exe /e,c:\sony download

--

Brian A. Sesko { MS MVP_Shell/User }
Conflicts start where information lacks.
http://basconotw.mvps.org/

Suggested posting do's/don'ts: http://www.dts-l.org/goodpost.htm
How to ask a question: http://support.microsoft.com/kb/555375
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top