Question

eShell opens explorer(desktop) instead of file explorer

Hello everyone i have a problem.

After a user automatically logs in he get this screen, after that he needs to access some of the files, so he opens the task manager with keyboard shortcut ctrl + shift +e and goes to new task. In the pop up window he needs to input explorer so he could open the file manager, but instead he gets whole explorer opened with desktop and evrything else.

Best regards,

Dainius

Discussion is locked
Answer
Follow
Reply to: eShell opens explorer(desktop) instead of file explorer
PLEASE NOTE: Do not post advertisements, offensive materials, profanity, or personal attacks. Please remember to be considerate of other members. If you are new to the CNET Forums, please read our CNET Forums FAQ. All submitted content is subject to our Terms of Use.
Reporting: eShell opens explorer(desktop) instead of file explorer
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Comments
- Collapse -
Answer
That's expected when

If there is some damage to the OS or account where the desktop is not working correctly, then the first time Explorer is run your desktop and such will open. On the second run then you get a Windows File Explorer instance or window.

You mention eShell which I would have to google but if eShell replaced the desktop, then Windows would again do as I noted.

I see no bug or unexpected operation here.

- Collapse -
Re: eShell

I googled eshell and found this:
"Eshell is a shell-like command interpreter implemented in Emacs Lisp. It invokes no external processes except for those requested by the user.".
More in https://www.gnu.org/software/emacs/manual/html_mono/eshell.html

I assume it runs in WSL (Windows Subsystem for Linux), but eShell being a shell, I would use its own commands to access files and not Windows Explorer.

This certainly needs more detail.

- Collapse -
I will try to eplain in another way
- Collapse -
Re: explain

It's more or less clear. My questions:
1. Why is Windows not activated?
2. Why does Windows open cmd.exe in stead of the desktop?
3. What's the relationship with eShell?

- Collapse -
That's the expected behavior.

If the desktop is not showing, running Explorer will fire up the Windows Desktop as expected. Run Explorer a second time to get what you wanted in the first instance.

- Collapse -
I need it like it was in Windows 7

Well you see in Windows 7 embedded it is opening file manager and you don't need any additional suffixes like explorer shell etc. So i am looking for a solution how can i type in explorer.exe or just explorer and it will open up for me explorer shell.

- Collapse -
Re: explorer

Make a batchfile that does what you want and type the name of the batchfile. I think that by using the right "path" you can even call it explorer.bat and then typing explorer would be fine. But it's even easier if you call it, say, e.bat, so you only have to type e.

Or simply run that batchfile in stead of cmd.exe (you didn't yet explain how you did that) so the user doesn't have to type anything.

- Collapse -
Thank you for your help

Thank you for you patience and your answers. I will try your method.

- Collapse -
Then you need to be creative.

Since Windows is not under your control here you make a batch file to do what you want. You can break Windows if you replace explorer.exe so while that's an option I don't know how much you know about Windows.

From my view, nothing here is broken. Windows is doing exactly what (off the shelf) Windows does. As to Embedded versions, I am aware of those but for those you deploy as you see fit and work around Windows as you need.

Here you are DEMANDING you type explorer and get a specific response. All you need to do is change the command to be something else or some other app that does what you want.

- Collapse -
Re: access file
- Collapse -
It is different system

Well you see it is system for the self-checkout solution.
And i need to have as much as possible stock configuration(mainly self-checkout sofwtware and needed frameworks for it).
I found solutions like running:
explorer.exe shell:Personal
explorer.exe shell:MyComputerFolder
explorer.exe shell: AppData
explorer.exe shell: Common Start Menu
explorer.exe shell: Libraries
But they are not that i am looking for. I need to get explorer.exe shell result
by typing explorer.exe

- Collapse -
Kees e.bat is the easy fix.

But if you DEMAND Windows 7 behavior you should call Microsoft to see if they offer a way.

Remember this is how Windows works so nothing is broken here. You want to change it so back to Microsoft when you don't get exactly what you want.

Here Kees has a great workaround. Plus it's less typing.

- Collapse -
I aggree with that.

Thank you for you patience and your answers. I will try Kees_B method.

CNET Forums