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

5 ビュー (過去 30 日間)
Jean-Philippe
Jean-Philippe 2017 年 1 月 20 日
コメント済み: Walter Roberson 2017 年 1 月 20 日
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 日
編集済み: 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 Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by