Mail Archives: opendos/1998/03/30/11:20:20
On Sat, 28 Mar 1998 Travis Siegel wrote:
> On Sat, 28 Mar 1998, Gene Kwatny wrote:
>
> > Can anyone suggest a straightforward method to delete files whose names
> > have embedded spaces in DOS with no long file name support (i.e standard
> > 8.3 notation).
>
> Yep, sure can. Assuming the file is something like "1 2 3" then to delete
> it, all you need to do is something like;
> del 1?2?3
> Just place a question mark where the spaces are, and it'll happ9ily
> disappear. :) Hope this helps.
BTW, if you happen to find a 8.3 directory with spaces in the name,
e.g.
c:\1 2 3\
just use DR-DOS' COMMAND.COM RMDIR/RD command -
you won't need LFN support to be loaded for this:
RD 1 2 3
Some other shells support it as well, if you put the name in quotes,
like
RD "c:\1 2 3"
or for files:
DEL "1 2 3"
Matthias
--------------------------------------------------------------------
Matthias Paul, Ubierstrasse 28, D-50321 Bruehl, GERMANY
eMail: <Matthias DOT Paul AT post DOT rwth-aachen DOT de>
Web : http://www.rhrz.uni-bonn.de/~uzs180/mpdokeng.html
--------------------------------------------------------------------
Caldera Digital Research Systems/OpenLinux: http://www.caldera.com/
--------------------------------------------------------------------
- Raw text -