Go Back   TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: ,

Sponsored Links



File name you specified not valid or too long

Windows XP Support


Reply
 
Thread Tools Search this Thread
  #1  
Old 02-09-2007
Jean-Sebastien
 
Posts: n/a
File name you specified not valid or too long

Good morning,

I am facing a problem with my nlaptop at work. I am trying to delete a
folder but I would get always the same message: File name you specified is
not valid or too long. By either right click and delete or delete from
keyboard same problem. Also I can't copy it.
The file name is much less that 250 character as specified for the maximum
charactere number in windows XP. I do not understand. I am running with OEM
windows XP and lastely I instaled office 2007. This folder just cause me
trouble.
Would you have got any idea?
Reply With Quote
  #2  
Old 02-09-2007
Singapore Web Design
 
Posts: n/a
Re: File name you specified not valid or too long

Hello,

This KB article may help (see Cause 4)
http://support.microsoft.com/kb/320081

--
Singapore Web Design
http://www.bootstrike.com/Webdesign/
Singapore Web Hosting
http://www.bootstrike.com/WinXP/faq.html
Windows XP FAQ
Reply With Quote
  #3  
Old 03-06-2008
kiLLer's Avatar
Member
 
Join Date: Mar 2004
Posts: 1,019
The maximum file path for XP is 231 characters and any file with file path longer than that will cause many problems.

I had problem copy these files until I found CanCopy utility.
It copies those files without any problem.

These threads might help you in some or other way,
Need help deleting files
Deleting files
Deleting does not send items to Recycle Bin
Reply With Quote
  #4  
Old 04-06-2008
John John (MVP)
 
Posts: n/a
Re: File name you specified not valid or too long

Actually, counting the drive letter, colon and null terminating
character the Windows API MAX_PATH is 260 characters:

"C:\<256 characters><NUL>"

And even that is not completely true... Using special techniques or
functions the API can handle extended-length paths of about 32,000
characters, these long paths are prefixed with "\\?\" and are separated
by backslashes at every 255 characters (or less). However, for the
purpose of common Windows tools and commands the MAX_PATH is limited to
256 characters.

Naming a File
http://msdn.microsoft.com/en-us/libr...47(VS.85).aspx

John
Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows XP > Windows XP Support


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "File name you specified not valid or too long"
Thread Thread Starter Forum Replies Last Post
Microsoft Excel file open error " Not a valid single file web page" Whelan MS Office Support 1 31-12-2011 06:22 PM
Error "the file name you specified is not valid or too long-how to delete" chandimalin Windows Server Help 1 07-09-2011 03:11 PM
The file name you specified is not valid or too long. kdi Operating Systems 3 11-05-2008 01:10 PM
Error 1325 - 'File name' is not a valid short file name. Bobby Fu Vista Setup and Install 0 04-07-2007 12:05 PM
The selected file is not a valid Microsoft Office Document Imaging File Joebar MS Office Support 1 09-11-2004 02:06 AM


All times are GMT +5.5. The time now is 12:43 AM.