stelogic
asked on
re-naming long file name.
Hiya,
i have a file that has a name xxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxx
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
i have a file that has a name xxxxxxxxxxxxxxxxxxxxxxxxxx
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
If that doesn't work, try running scandisk, it _should_ pick it up.
del xxxx*.* may be something else to try
del xxxx*.* may be something else to try
ASKER
it doesn`t have a short name and scandisk didn`t find it any other ideas....
cheers .
stelogic
cheers .
stelogic
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
you da man,,,
cheers
stelogic
cheers
stelogic
ASKER
kind regards
stelogic
stelogic
thanks for the exchange... had the same prob.
not worthy,
jodeye
not worthy,
jodeye
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!