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

4 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Jorge Mario Guerra González
Modificato: Jorge Mario Guerra González il 20 Gen 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

Più risposte (0)

Categorie

Scopri di più su Modeling in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by