Q

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?
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

Dig deeper on Windows Operating System Management

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close