Command-line switches to open explorer.exe in Win10

Microsoft Windows
Post Reply
Egon
Posts: 1
Joined: 2022-Dec-28, 1:18 pm

Command-line switches to open explorer.exe in Win10

Post by Egon »

Hello,

Maybe my english is not that good. I come from Germany.

I use the following switches to starrt explorer with a path with filename:
 
explorer.exe /n, /e, /select, "path\file"
 
In the path or filename German umlauts (ä, ö, ü, ß) can occur.
In this case the explorer opens with "This computer" and not the given path.
How to deal with that?

Egon
Simon_Weel
Posts: 33
Joined: 2021-Dec-13, 3:53 pm

Re: Command-line switches to open explorer.exe in Win10

Post by Simon_Weel »

Not sure I get the problem, but when I try it, it works ok - it opens Explorer and selects the specified file. If the file specified doesn't exist, you'll indeed open Explorer in 'This PC'. So either make sure the file is there or specify a path only?

Code: Select all

explorer.exe /n,/e,/select,c:\Testä\Text.txt
Post Reply