FG
💻 Software

How can one show the current directory in PowerShell?

Fresh7 days ago
Mar 15, 202693030 views
Confidence Score0%
0%

Problem

I'd like to have the current working directory show on the powershell command line, as would be done in a (for example) CMD prompt. How can I do so?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can one show the current directory in PowerShell?

Low Risk

Check this out: http://mshforfun.blogspot.com/2006/05/perfect-prompt-for-windows-powershell.html Basically, you can create a 'profile' file called Microsoft.PowerShell_profile.ps1 which will run every time you start powershell. Depending on whom you…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment