Is there a way to create a directory called 'aux' ?
4 views (last 30 days)
Show older comments
Jean-Philippe
on 20 Jan 2017
Commented: Walter Roberson
on 20 Jan 2017
I tried to create a directory called 'aux' but it failed.
>> mkdir('aux') Error using mkdir Nom de répertoire non valide.
Is 'aux' a reserved word? How can I do that?
JP
0 Comments
Accepted Answer
Jorge Mario Guerra González
on 20 Jan 2017
Edited: Jorge Mario Guerra González
on 20 Jan 2017
Yes, that word is part of windows legacy.
The following reserved device names cannot be used as the name of a file: CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9. In addition, any combinations of these with extensions are not allowed.
Just create it with other name.... aux1 sounds cool for me
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!