Is there a way to create a directory called 'aux' ?

4 次查看(过去 30 天)
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

采纳的回答

Jorge Mario Guerra González
编辑:Jorge Mario Guerra González 2017-1-20
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by