A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Performance and Maintainance of XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Error Message: "The File Name is Not Valid or Too Long...."



 
 
Thread Tools Display Modes
  #1  
Old May 9th 09, 01:05 AM posted to microsoft.public.windowsxp.perform_maintain
YourWadeness
external usenet poster
 
Posts: 10
Default Error Message: "The File Name is Not Valid or Too Long...."

This is my issue: I download a file to my desktop from a website. I, then,
proceed to name that file using only valid characters. The file name is
usually only 55 to 60 characters long. But when I try to move the file into a
more convenient location (folder) on my hard drive, I receive the following
error message: "The file name is not vaild or too long. Specify a different
file name." I, then, have to proceed to shorten the file name to something
really unrecognizable to me, and only then will the file be accepted into the
destination folder.

I never had this problem before. It only started recently (2009). I've had
Windows XP since 2001.

Why is this happening? Can anyone please help me?
--
Wade Terry
Ads
  #2  
Old May 9th 09, 04:10 AM posted to microsoft.public.windowsxp.perform_maintain
Shenan Stanley
external usenet poster
 
Posts: 10,523
Default Error Message: "The File Name is Not Valid or Too Long...."

YourWadeness wrote:
This is my issue: I download a file to my desktop from a website.
I, then, proceed to name that file using only valid characters. The
file name is usually only 55 to 60 characters long. But when I try
to move the file into a more convenient location (folder) on my
hard drive, I receive the following error message: "The file name
is not vaild or too long. Specify a different file name." I, then,
have to proceed to shorten the file name to something really
unrecognizable to me, and only then will the file be accepted into
the destination folder.

I never had this problem before. It only started recently (2009).
I've had Windows XP since 2001.

Why is this happening? Can anyone please help me?


*Only* 55-60 characters long? *grin*

Where is the "more convenient location (folder)" you speak of?

Essentially, when you save the file to your desktop, the full patch to that
file is - in a default installation of Windows XP and with the shortest
username I can think would be possible - already 30 characters in - minimum.
That is not counting the drive letter and slashes or the filename itself.
You really want to try and keep full path, including filename, below 255
characters - or there could be unexpected behavior.

Path to your Desktop...
C:\Documents and Settings\username\Desktop

So - for example - you are moving it to your "My Music" folder, perhaps also
under an "Album Name" folder which is under an "Artist Name" folder...

C:\Documents and Settings\username\My Documents\My Music\Artist
Name\Album Name\filename of your choice.mp3

People seem to really like the fact that they can now name things more than
8 characters with a 3 character file extension. Sure - I understand - it
makes things easier to identify later. However - what many do not take into
account is all the directories paths and such that add to the length of the
filename in order to do anything to that file. So they end up with
ridiculously long paths with ridiculously long filenames - and then they
have trouble using the very files they now know what they are because of the
name being not just recognizable - but exactly what it is.

Some abbreviation is good.

If you want less abbreviation, download and store your long filename files
in a C:\1\ directory... (Or in the root of C or of another drive.)

My suggestion... Keep your filename under 31 characters (not including the
extension/dot, path.)

"a filename under 31 characters.txt"

Keep your paths short as well.

"A filename with sixty characters in it would look like this.txt"
(Again - not counting the extension/dot.)

If you need an entire sentence to remember what is in a file - well - you
need to change where you store things. ;-)

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


  #3  
Old May 9th 09, 04:10 AM posted to microsoft.public.windowsxp.perform_maintain
Shenan Stanley
external usenet poster
 
Posts: 10,523
Default Error Message: "The File Name is Not Valid or Too Long...."

YourWadeness wrote:
This is my issue: I download a file to my desktop from a website.
I, then, proceed to name that file using only valid characters. The
file name is usually only 55 to 60 characters long. But when I try
to move the file into a more convenient location (folder) on my
hard drive, I receive the following error message: "The file name
is not vaild or too long. Specify a different file name." I, then,
have to proceed to shorten the file name to something really
unrecognizable to me, and only then will the file be accepted into
the destination folder.

I never had this problem before. It only started recently (2009).
I've had Windows XP since 2001.

Why is this happening? Can anyone please help me?


*Only* 55-60 characters long? *grin*

Where is the "more convenient location (folder)" you speak of?

Essentially, when you save the file to your desktop, the full patch to that
file is - in a default installation of Windows XP and with the shortest
username I can think would be possible - already 30 characters in - minimum.
That is not counting the drive letter and slashes or the filename itself.
You really want to try and keep full path, including filename, below 255
characters - or there could be unexpected behavior.

Path to your Desktop...
C:\Documents and Settings\username\Desktop

So - for example - you are moving it to your "My Music" folder, perhaps also
under an "Album Name" folder which is under an "Artist Name" folder...

C:\Documents and Settings\username\My Documents\My Music\Artist
Name\Album Name\filename of your choice.mp3

People seem to really like the fact that they can now name things more than
8 characters with a 3 character file extension. Sure - I understand - it
makes things easier to identify later. However - what many do not take into
account is all the directories paths and such that add to the length of the
filename in order to do anything to that file. So they end up with
ridiculously long paths with ridiculously long filenames - and then they
have trouble using the very files they now know what they are because of the
name being not just recognizable - but exactly what it is.

Some abbreviation is good.

If you want less abbreviation, download and store your long filename files
in a C:\1\ directory... (Or in the root of C or of another drive.)

My suggestion... Keep your filename under 31 characters (not including the
extension/dot, path.)

"a filename under 31 characters.txt"

Keep your paths short as well.

"A filename with sixty characters in it would look like this.txt"
(Again - not counting the extension/dot.)

If you need an entire sentence to remember what is in a file - well - you
need to change where you store things. ;-)

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 11:21 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.