0
I would like to change my Present Working Directory in DOS (I am running Win7 professionnal). When I perform a cd D:\
, nothing happens:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\>cd D:\
D:\
C:\>
If I do the same using PowerShell, it works:
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS C:\> cd D:\
PS D:\>
Any ideas about what is going wrong with DOS?
+1 worked. Amazing, this is a huge inconsistency. – jlandercy – 2014-11-13T15:01:29.050
Not really. CD is not a native command in powershell. It is an alias to Set-Location which while similar to CMD's CD is not an exact replica and was never intended to be an exact replica. – EBGreen – 2014-11-13T15:39:41.773
It's not a bug, it's a feature.... – Timbo – 2014-11-13T22:22:25.353