ethanhs / Explore10

Modern File Explorer
GNU General Public License v3.0
29 stars 9 forks source link

File -> Open Command Prompt #12

Closed Krutonium closed 8 years ago

Krutonium commented 8 years ago

Change your opening execution from just running cmd.exe to

cmd.exe /K cd "PathTheUserIsIn"
ethanhs commented 8 years ago

Ah. I had tried that. My syntax must've been wrong.

Krutonium commented 8 years ago

In vb I would do this:

Dim P as ProcessStartInfo P.filename = "cmd.exe" P.arguments = "/K cd ""path""" Process.start(P)

ethanhs commented 8 years ago

Same in C#. I read about it, but didn't implement

Krutonium commented 8 years ago

I am working on this in my branch, but how do I get the CD?