re-naming long file name.

Hiya,

i have a file that has a name  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

THAT REALY IS THE FILE NAME !!

i cant delete or rename it .. i get the following error..

Cannot rename file : the filename you specified is invalid or too long specify a different filename

and the same message when i try to delete ..

any ideas ?

stelogic
stelogicAsked:
Who is Participating?
 
Adam LeinssConnect With a Mentor Senior Desktop EngineerCommented:
Try Ztreewin and see if you can manipulate the file that way: http://www.ztree.com/html/ztreewin.htm

0
 
jhanceCommented:
1) Open a CMD window (i.e. the DOS window - but it's not really DOS).

2) CD to the folder that CONTAINS this really long file name.

3) Type: DIR /X and note the SHORT FILE NAME.  It will be something like "XXXXXX~1" but note it.

4) Delete it using the SHORT FILE NAME and the DEL command like:

DEL XXXXXX~X

That's it!
0
 
Adam LeinssSenior Desktop EngineerCommented:
If that doesn't work, try running scandisk, it _should_ pick it up.

del xxxx*.* may be something else to try
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
stelogicAuthor Commented:
it doesn`t have a short name and scandisk didn`t find it any other ideas....

cheers .

stelogic
0
 
stelogicAuthor Commented:
you da man,,,

cheers

stelogic
0
 
stelogicAuthor Commented:
kind regards

stelogic
0
 
JodeyeCommented:
thanks for the exchange... had the same prob.

not worthy,
jodeye
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.