What steps will reproduce the problem?
1. Copy Eclipse workspace to drive D:
2. Open Eclipse workspace
3. Run "Open in Command Prompt" on a project folder
What is the expected output?
Command Prompt CDed to workspace folder on D: drive
What do you see instead?
Command Prompt stuck on C: drive
What version of the product are you using? On what operating system?
1.2.0
Please provide any additional information below.
Looking at the source code the problem is probably related to the way cmd.exe
is invoked in OpenCommandPrompt.java:
Runtime.getRuntime().exec("cmd /k start cmd /k \"cd " + path + "\"")
The /D switch must be added to the cd command, i.e.:
Runtime.getRuntime().exec("cmd /k start cmd /k \"cd /D " + path + "\"")