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`



.



Relevant Pages

  • System Startup
    ... press F8 and get all those options like SAFE MODE, DOS ... Prompt, Last Known good configuration. ...
    (microsoft.public.windowsxp.accessibility)
  • Re: System 32 seems fatal error - help sought
    ... and gave me an A prompt which I turned into a D prompt etc. ... > How exactly are you trying to load the XP setup? ... > but from your message it sounds like you're starting from DOS and trying ... > 3) Change the boot settings such that the CD-Rom drive with the XP disk is ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Utility Backup will not load
    ... Do I need to be in safe mode when I make the changes you listed below. ... Reboot the machine into Normal Mode. ... After the prompt I did get back the backup screen came up while in safe ... You can see if it runs by typing this command at the Command Prompt: ...
    (microsoft.public.windowsxp.general)
  • Re: Laptop file deleted when upgrading to Windows XP
    ... Thanks for the prompt response. ... prompt and of course get the error that this file does not run in dos. ... When I boot up from the CD it registers as the A drive. ... laptop, ...
    (microsoft.public.windowsxp.general)
  • Re: user icons gone from welcome screen!
    ... Well, Patrick, I tried a password cracker, and it reported that the admin ... Safe mode does no better. ... Can't get to command prompt as it wants you to log on first. ... If you use an inexpensive external USB2 drive case or drive connector, ...
    (microsoft.public.windowsxp.perform_maintain)