Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
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

Respuesta aceptada

Jorge Mario Guerra González
Jorge Mario Guerra González el 20 de En. de 2017
Editada: Jorge Mario Guerra González el 20 de En. de 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

Más respuestas (0)

Categorías

Más información sobre Verification, Validation, and Test en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by