Solved

re-naming long file name.

Posted on 2002-06-15
7
123 Views
Last Modified: 2010-04-13
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
Comment
Question by:stelogic
7 Comments
 
LVL 32

Expert Comment

by:jhance
Comment Utility
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
 
LVL 22

Expert Comment

by:Adam Leinss
Comment Utility
If that doesn't work, try running scandisk, it _should_ pick it up.

del xxxx*.* may be something else to try
0
 

Author Comment

by:stelogic
Comment Utility
it doesn`t have a short name and scandisk didn`t find it any other ideas....

cheers .

stelogic
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 22

Accepted Solution

by:
Adam Leinss earned 50 total points
Comment Utility
Try Ztreewin and see if you can manipulate the file that way: http://www.ztree.com/html/ztreewin.htm

0
 

Author Comment

by:stelogic
Comment Utility
you da man,,,

cheers

stelogic
0
 

Author Comment

by:stelogic
Comment Utility
kind regards

stelogic
0
 

Expert Comment

by:Jodeye
Comment Utility
thanks for the exchange... had the same prob.

not worthy,
jodeye
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now