Ask the Expert

Why can't I delete a file on a Win2k Pro machine?

I'm trying to delete a file on a Win2k Pro machine. It says it cannot find the file when using command prompt. When using Windows Explorer, it generates an error saying the file can't be deleted/moved/copied, etc. How do you delete a file with a name that may be too long? And why did it let the file be created in the first place?

    Requires Free Membership to View

More than likely, the file name is corrupt, or it's using invalid characters. Try removing the file using its short file name. To find that, type dir /x at the command prompt and make note of the file name.

This was first published in August 2003

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: