Windows PowerShell Home
Can't create "aux.txt"
2/1/2013 6:19:17 AM
User(s) can reproduce this bug
Seem impossible create a file named "aux.txt".
Changing file name, no error occurred. I've tried on two different pcs.
How often does this happen?
Have you seen this problem before in this product?
I don't know if this issue existed previously
PS D:\Temp> New-Item aux.txt -type file -force -value "This is text added to the file"
New-Item : FileStream non aprirà dispositivi Win32 quali partizioni su disco e unità a nastro. Non utilizzare "\\.\"
In riga:1 car:1
+ New-Item aux.txt -type file -force -value "This is text added to the file"
+ CategoryInfo : NotSpecified: (:) [New-Item], ArgumentException
+ FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.NewItemCommand
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 01/02/2013 15:00 30 aux.txt
to post a comment.
Please enter a comment.
on 2/20/2013 at 11:07 PM
Ouch, this is painful. I guess it thinks it is an "aux" device. It doesn't matter if it even has an extension. Same problem with Out-File. You can do "Out-File c:\aux" and get the same error. This REALLY needs to be fixed sooner rather than later.
to post a workaround.
Please enter a workaround.
© 2013 Microsoft