dos command

sorry for asking this question here, but last option.

"dir /s /b" as pointed out to me earlier works fine.

However, it willl be more convenient for me to have filenames displayed
only as "MYDOCUME~1" instead of "MY DOCUMENTS" which has blanks. (So that
its easier to write scripts, string comparison as opposed to sentence
comparison etc).

How could I do this ?

The dir switch /X prints the short form which I want, but doesn't suppress
the long names as well. Any ideas ?

Thanks,


Tony Gogoi
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Tony Gogoi [ Mo, 19 April 2004 05:59 ] [ ID #64104 ]
Linux » gmane.linux.admin » dos command

Vorheriges Thema: question on "find"
Nächstes Thema: bash question