Skip to content

Support opening application from the path editbox #7814

Closed
@StefanLobbenmeier

Description

@StefanLobbenmeier

What's the Problem?

In explorer.exe, you can start a new cmd at the current folder by typing "cmd.exe" in the path editbox. I also like to open IntelliJ at the current folder using "idea .".

This is what I mean in explorer.exe:
image

In the files app, "cmd" actually works somehow. But typing other things on the path, like idea gives an error:

image

Solution/Idea

Match the behaviour of explorer.exe and open the application. I am pretty sure this could be achieved by running

using System.Diagnostics;
...
Process.Start("process.exe");

But I am not 100% sure if that is the exact logic / recognizing that the user is actually trying to do that. Probably involves manually verifying that the provided application name is actually an executable on the path.

Alternatives

As a workaround I have to start a terminal at the current location and type the command in there.

Priorities

Capability Priority
Start applications entered in the path editbox Must
Pass the arguments to it Must
Keep the launched application open when files closes Must

Files Version

2.1.2.0

Windows Version

Edition Windows 10 Enterprise Version 21H2 Installiert am ‎04.‎08.‎2020 Betriebssystembuild 19044.1415 Leistung Windows Feature Experience Pack 120.2212.3920.0

Comments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions