|
| | |||||||
| Windows XP Discuss the Microsoft Windows XP Operating System |
| | LinkBack | Thread Tools |
| |||
| Delete files w/long names using DOS 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. |
| |||
| Re: Delete files w/long names using DOS Type: dir /x That will give you a column that shows you the 8.3 filename for your files. For example, address book.txt also shows up as ADDRES~1.TXT. Then you could delete addres~1.txt Joe "Tafeille" <Tafeille@discussions.microsoft.com> wrote in message news:F65151D8-86E3-459E-B515-1113623B4E76@microsoft.com... >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. |
| |||
| Re: Delete files w/long names using DOS I'll try that. I wonder, though, is it copying the file and I'm deleting the new file? Or is it renaming it? "Joe Grover" wrote: > Type: dir /x > > That will give you a column that shows you the 8.3 filename for your files. > > For example, address book.txt also shows up as ADDRES~1.TXT. Then you could > delete addres~1.txt > > Joe > > "Tafeille" <Tafeille@discussions.microsoft.com> wrote in message > news:F65151D8-86E3-459E-B515-1113623B4E76@microsoft.com... > >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. > > |
| |||
| Re: Delete files w/long names using DOS It's only showing you the file using both long and short filenames. The /x switch is just a sorting switch. It's the same file. Joe "Tafeille" <Tafeille@discussions.microsoft.com> wrote in message news:E3A1FD93-3F5E-4FDE-9555-266B9EED5645@microsoft.com... > I'll try that. I wonder, though, is it copying the file and I'm deleting > the > new file? Or is it renaming it? > > "Joe Grover" wrote: > >> Type: dir /x >> >> That will give you a column that shows you the 8.3 filename for your >> files. >> >> For example, address book.txt also shows up as ADDRES~1.TXT. Then you >> could >> delete addres~1.txt >> >> Joe >> >> "Tafeille" <Tafeille@discussions.microsoft.com> wrote in message >> news:F65151D8-86E3-459E-B515-1113623B4E76@microsoft.com... >> >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. >> >> |
| |||
| 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` |
| |||
| RE: Delete files w/long names using DOS To Joe Grover & Poprivet: Thank you so much for the help. I tried the suggestions from both of you and, I'm happy to say, they both worked. Plus, I got two other suggestions from a friend of mine and they both worked also. So now I have a whole arsenal of ways to get rid of those files. Thanks again. You two were great. "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. |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: CAn some help? cannot delete files as 'names too long for filesystem' | Mr. Arnold | Windows Vista | 0 | 06-24-2008 10:20 PM |
| Fix for long, long, long deleting and copying of files? | Hope | Windows Vista | 14 | 02-10-2008 04:20 PM |
| Long File Names in XP | Marleneburton | Windows XP | 1 | 01-11-2008 07:51 AM |
| Long file names | Jack Russell | Windows XP | 3 | 04-16-2007 12:00 AM |
| MS-DOS long file names | Scott | Windows XP | 9 | 01-04-2007 02:13 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |