Any quick way to call a directory using an environment variable in Powershell
Fresh3 days ago
Mar 15, 20262244 viewsConfidence Score0%
0%
Problem
Say I have a user environment variable named p and it's value is the path where I store my projects. In Command Prompt you can use them to quickly access a particular directory from anywhere on the command line: This doesn't work in Powershell, is there anyway to get the same functionality?
Error Output
cd %p%
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Any quick way to call a directory using an environment variable in Powershell
Low Risk
Environment variables have their own provider:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix