• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 140
  • Last Modified:

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
0
stelogic
Asked:
stelogic
1 Solution
 
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 LeinssCommented:
If that doesn't work, try running scandisk, it _should_ pick it up.

del xxxx*.* may be something else to try
0
 
stelogicAuthor Commented:
it doesn`t have a short name and scandisk didn`t find it any other ideas....

cheers .

stelogic
0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 
Adam LeinssCommented:
Try Ztreewin and see if you can manipulate the file that way: http://www.ztree.com/html/ztreewin.htm

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

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now