Explorer Command Line Switch Dont Like Folder w. Comma

  • Thread starter Thread starter Paul Cross
  • Start date Start date
P

Paul Cross

Hi,
I'm trying a command line switch to open a folder called "West
Virginia, State of" within a folder called "W". I can work it to the
"W" but not the child and I imagine the reason is the comma in the
folder name.

This works:
%windir%\explorer.exe /e,X:\Clients\Risk Management\W

This doesn't:
%windir%\explorer.exe /e,X:\Clients\Risk Management\W\West Virginia,
State of

Is there a workaround other than renaming the folder?

Sincerely,
Paul Cross
 
Hi,
I'm trying a command line switch to open a folder called "West
Virginia, State of" within a folder called "W". I can work it to the
"W" but not the child and I imagine the reason is the comma in the
folder name.

This works:
%windir%\explorer.exe /e,X:\Clients\Risk Management\W

This doesn't:
%windir%\explorer.exe /e,X:\Clients\Risk Management\W\West Virginia,
State of

Is there a workaround other than renaming the folder?

Sincerely,
Paul Cross

None that I can find. I even escaped the , (^,), but it didn't help.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Paul Cross said:
I'm trying a command line switch to open a folder called "West
Virginia, State of" within a folder called "W". I can work it to the
"W" but not the child and I imagine the reason is the comma in the
folder name.
This works:
%windir%\explorer.exe /e,X:\Clients\Risk Management\W
This doesn't:
%windir%\explorer.exe /e,X:\Clients\Risk Management\W\West Virginia,
State of

How about this?
%windir%\explorer.exe /e,"X:\Clients\Risk Management\W\West Virginia,
State of"
 
Back
Top