Solved

re-naming long file name.

Posted on 2002-06-15
7
131 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 7080600
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
ID: 7082042
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
ID: 7082150
it doesn`t have a short name and scandisk didn`t find it any other ideas....

cheers .

stelogic
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 22

Accepted Solution

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

0
 

Author Comment

by:stelogic
ID: 7082417
you da man,,,

cheers

stelogic
0
 

Author Comment

by:stelogic
ID: 7082421
kind regards

stelogic
0
 

Expert Comment

by:Jodeye
ID: 7082689
thanks for the exchange... had the same prob.

not worthy,
jodeye
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Choosing a core focus or particular set of features and options can be tough. To help out, we’re going to highlight a handful of things your business needs on one of your social media pages. In other words, if one of these is missing, you should imp…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

636 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