-
Notifications
You must be signed in to change notification settings - Fork 8.3k
IsReservedDeviceName does not recognize CONIN$, CONOUT$ #13046
Copy link
Copy link
Closed
Labels
First-Time-IssueEasy issues first time contributors can work on to learn about this projectEasy issues first time contributors can work on to learn about this projectIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
Metadata
Metadata
Assignees
Labels
First-Time-IssueEasy issues first time contributors can work on to learn about this projectEasy issues first time contributors can work on to learn about this projectIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugResolution-FixedThe issue is fixed.The issue is fixed.Up-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime
Steps to reproduce
Expected behavior
Actual behavior
Move-Item outputs
helloto the console. After that, neitherworldnorCONOUT$exists as a file in the directory.Environment data
Notes
PowerShell/src/System.Management.Automation/engine/Utils.cs
Lines 1254 to 1256 in ab74603
That also lists
CLOCK$,COM0, andLPT0even though those names are not reserved in Win32. IIRC, MS-DOS has aCLOCK$orCONFIG$device.