formulahendry / formulahendry/vscode-code-runner

[Bug]

Open
#911 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.4k
Forks
351
PR merge metrics
No merged PRs in 30d

Description

- VS Code Version: 1.63.2
- OS Version: Windows 11 Build 22538
- Code Runner Version: v0.11.6

**Describe the bug**
CMD Mode can't cd to another drive. Program just uses "cd "d:\folder"" but not "d:" and "cd folder";

**To Reproduce**
1. Set "terminal.integrated.defaultProfile.windows" to "Command Prompt";
2. Start an C++ program not saved in C: and run it;

**Actual behavior**
C:\Users\Admin>cd "d:\folder" & g++ file.cpp -o file.exe & file
g++: error: file.cpp: No such file or directory
g++: fatal error: no input files
compilation terminated.

**Expected behavior**
C:\Users\Admin>D: & cd "folder" & g++ file.cpp -o file.exe & file
Complete

**Screenshots**
https://1drv.ms/u/s!AtEykNVQgVMNkjR2pk3MAknsmZ9h?e=mWoyTd
https://1drv.ms/u/s!AtEykNVQgVMNkjUHfPxPnn7yiuui?e=NoYJyG

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.