Comments (4)
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Open similar issues:
- Settings UI: Check that the starting directory is normalized (#15093), similarity score: 0.76
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from terminal.
- Does this repro if the vintage "Windows Console Host" is set as your default terminal in the settings app?
- In a VS prompt, what is the output of
set HOMEDRIVE & set SystemDrive
? - Same question, but in a normal CMD tab?
- Does anything look askew (DHowett EDIT: it said
eschew
) in the Environment Variables settings dialog/?
from terminal.
In my Terminal app Windows Console Host is set as the Default Terminal Application
From VS2022 Command prompt in Terminal
c:\Users\mikedice\source\repos>set HOMEDRIVE
HOMEDRIVE=C:
c:\Users\mikedice\source\repos>set SystemDrive
SystemDrive=C:
From classic command prompt
C:\Users\mikedice>set systemdrive
SystemDrive=C:
C:\Users\mikedice>set homedrive
HOMEDRIVE=C:
I dumped all environment variables and I do see this:
VSCMD_START_DIR=c:\users\mikedice\source\repos
In fact this is the only place lower case c: is shown
And then I saw that VSCMD_START_DIR=c:\users\mikedice\source\repos was set in the terminal Command Line property: cmd /k "set VSCMD_START_DIR=C:\users\mikedice\source\repos & "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsDevCmd.bat" -startdir=auto -arch=x64 -host_arch=x64"
I think I remember now setting that so the vsdevcmd prompt lands where i want it to and in that Command Line I used lower case c:
Guess this issue can be resolved by design
from terminal.
Ah! Thanks for following up.
I usually work around this with the -SkipAutomaticLocation
argument to Enter-VsDevShell
or the -startdir=none
argument to vsdevcmd. That puts Terminal in charge of the starting directory, so you can use the normal Starting Directory setting.
We haven't done this by default for consistency with the existing Developer Shell shortcuts in the start menu.
I'll close this one out! Thanks!
from terminal.
Related Issues (20)
- Test
- $(id)
- $(whoami) HOT 1
- $(ls -la) HOT 1
- Terminal closes when store tries to update $(id) HOT 1
- Terminal closes when store tries to update $(id) HOT 1
- Terminal becomes extremely laggy after printing large amount of CJK characters HOT 7
- Terminal update crashes all running applications HOT 3
- Snippets & useCommandline don't account for grapheme clusters quite right
- Can't wake up a closed headless window HOT 1
- PHP Artsan command not recognised as URI HOT 2
- No response when open windows terminal HOT 6
- CSI 58 (undercurl color) sequence misbehaves when in "legacy ANSI" format HOT 18
- Pressing ESC + j or k will equal to Alt + j or k when using Neovim in Windows Terminal HOT 2
- Suggest me code for this.
- I like some suggestions hare.
- Clicked URL contains unwanted delimiter HOT 3
- Crash when exiting a tab with the debug tap HOT 5
- Font loading faults after Windows update KB5039212 HOT 6
- Changing a value belonging to Resources.resw under Microsoft.Terminal.Control.Lib causes build to fail.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terminal.