View Single Post
  #5 (permalink)  
Old 05-18-2007, 11:41 AM
Poprivet
Newsgroup Contributor
 
Posts: n/a
Re: Delete files w/long names using DOS

Tafeille wrote:
> I have XP Home Edition. Virus recently messed everything up. Before
> getting fixed want to delete files no longer needed but cannot get to
> Programs or Desktop while in safe mode. Can get to C prompt and DOS.
> I deleted files with short names but can't delete ones with more than
> 8 characters. Is there a way to delete the long-lettered files using
> DOS? I don't want to delete whole subdirectories, just particular
> files in them. Thanks.


I assume by DOS you mean the Command Prompt:

Put quotes around the filenames.

e.g. del "x:\my long name \*.dll" or del x:\"my long name"\*.dll are the
same thing.

Or, do a dir and use the exact name as it shows if it has a ~ in it; e.g.
del x:\mylong~1.dll

HTH
Pop`



Reply With Quote

 
Old 05-18-2007, 11:41 AM