Launching explorer.exe with arguments just opens explorer.exe
See original GitHub issueOk title might be a little misleading…
if you execute explorer "C:\Users"
or something like this in CMD or another program calls it this way (i.e. Steam)
It just opens regular explorer.exe and not Files even when the guide for making Files the default explorer is followed as intended
Expected behavior
Files should open in the desired directory when executing explorer "Directory"
Logfile No logfile necessary
This is a small issue but quite annoying
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
When opening an executable using explorer.exe, how do I ...
The best way I found to achieve this was to create a batch file containing the call for the executable with the parameters...
Read more >c# - Open an Explorer window with Process.Start creates ...
However, if I were to start just the explorer.exe with no 2nd argument, an extra explorer.exe process will not be created even though...
Read more >Parameter "/root" of explorer.exe not working anymore?
Hi Folks. I used to call explorer.exe /e,/root,%myfolder% to open an explorer-window to "myfolder" with a navigation panel starting with ...
Read more >Explorer.exe - Windows CMD
Syntax Explorer.exe options Options /n Open a new single-pane window for the ... /separate Launch an explorer instance as a separate process (undocumented ......
Read more >File Explorer command line arguments in Windows 10
There you can type the commands described below. explorer.exe /n,folder_path. The switch "/n" makes File Explorer open a new window with the ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is so odd, I used your command but even with that still writing explorer.exe on cmd opens files.exe
I used the registry key to make files as default explorator, but I think this doesn’t happened before…
EDIT: Yep, using the other registry file to unset files solve the issue. My bad, sorry.
It’s not permanent, the DOSKEY command is only active for the current session of CMD, if you close it, it’s gone. The AutoRun key In the registry only references the bat file you created, so in order to disable it just remove the file
Now if for some reason you still have explorer mapped to files.exe, just write
doskey explorer=explorer.exe