Canadian Computer Consulting

My FTP Site was Tagged

Home
About Us
Contact Us
Links
Data Recovery
Computers
Virus Repair
Spyware
File Sharing
Web Hosting
Fun Stuff
Misc. Tips
Make A Payment
Annoying Phone Numbers

The Problem

I left an anonymous FTP site open for a couple of days and now I have several gigs worth of files I can't delete because they are "invalid file name" and "file not found".  My ftp site had been TAGGED.

The Solution

I had miles and miles of directories full of spaces at the end of the names, and filenames like LPT1 and COM1 and CON and NULL and directory names that are simply a bunch of spaces.

Well, Microsoft wasn't much help.  They told me WHY I couldn't delete this stuff, but no good way to fix it.  Their suggestions DO work, but it would take me weeks to do it their way.

You Cannot Delete a File or a Folder

http://support.microsoft.com/default.aspx?scid=kb;en-us;320081

How to Remove Files with Reserved Names in Windows

http://support.microsoft.com/default.aspx?scid=kb;EN-US;120716

How to Remove Files with Reserved Names in Windows XP

http://support.microsoft.com/default.aspx?scid=kb;EN-US;315226

Here's what DOES work:

Go to the DOS prompt and use "dir /x" to get the 8.3 names of files.  Then go down into directories and delete them one by one...

I still have a few directory names left.... but the files are all gone now....


Copyright © 2008 Canadian Computer Consulting
(updated March 22, 2008)

Vancouver: 604-249-4486   Victoria: 250-412-1593    Edmonton: 780-701-7167
Email info@computerconsulting.ca