Aux is a reserved filename in Windows
ste93cry opened this issue · 0 comments
I wanted to delete the node_modules
folder and recreate it on one of my projects and I found out that Aux
is a reserved filename on Windows, thus I cannot easily delete the react-aux
folder. The only viable solution to delete it was in this Stackoverflow answer
rd "\\?\C:\holds bad subdir" /s
Maybe it would be possible to rename Aux.js
to something else? For reference, here an explanation about the reserved filenames:
Naming Files, Paths, and Namespaces
CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. Also avoid these names followed immediately by an extension; for example, NUL.txt is not recommended. For more information, see Namespaces.