Web link OK for Desktop but too long for other folders?

  • Thread starter Thread starter Steve Hawkins
  • Start date Start date
S

Steve Hawkins

Only just come across this curiosity:

Why is it that a web link that is sent as shortcut to Desktop (which appears
like any other folder in my folder tree), gets rejected as 'too long please
rename', when I try to move it into another folder? Obviously, one does not
want to rename a link as it would then stop working!

Please enlighten me.

Regards,
Steve_H
 
You can rename the link without affecting the URL.

The URL is Uniform Resource Locator (URL)
An address that uniquely identifies a location on the Internet. A URL for a
World Wide Web site is preceded with http://, as in this URL
http://www.microsoft.com A URL can contain more detail, such as the name of
a page of hypertext, usually identified by the file name extension .html or
..htm.

Right click a link (Internet Shortcut) and click Properties.
On the General tab, in the box at the top change the name to whatever you
like.
The box specifies the name and provides a space for you to type a new name.

Now click on the Web Document tab.
As long as you do NOT change the URL, the shortcut will open whatever
address is in the URL box no matter what name it has.

The Internet Shortcut file name can be anything.

For example.

Right now I have an Internet Shortcut to this...
KOOL 105 Mile High Hits of the 60s and 70s - The Way Kool Morning Show
that is the file name or Internet Shortcut name.
This is the address or URL...
http://kool105.com/pages/70747.php

I just changed the file name to Steve and double clicking the Steve shortcut
still opens
http://kool105.com/pages/70747.php

Internet Shortcuts have the file extension .url, but you never see that
extension because it's Hidden. There is a registry setting for
InternetShortcut called NeverShowExt that is set to not show the .url
extension.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Wesley Vogel said:
You can rename the link without affecting the URL.

The URL is Uniform Resource Locator (URL)
An address that uniquely identifies a location on the Internet. A URL for
a
World Wide Web site is preceded with http://, as in this URL
http://www.microsoft.com A URL can contain more detail, such as the name
of
a page of hypertext, usually identified by the file name extension .html
or
.htm.

Right click a link (Internet Shortcut) and click Properties.
On the General tab, in the box at the top change the name to whatever you
like.
The box specifies the name and provides a space for you to type a new
name.

Now click on the Web Document tab.
As long as you do NOT change the URL, the shortcut will open whatever
address is in the URL box no matter what name it has.

The Internet Shortcut file name can be anything.

For example.

Right now I have an Internet Shortcut to this...
KOOL 105 Mile High Hits of the 60s and 70s - The Way Kool Morning Show
that is the file name or Internet Shortcut name.
This is the address or URL...
http://kool105.com/pages/70747.php

I just changed the file name to Steve and double clicking the Steve
shortcut
still opens
http://kool105.com/pages/70747.php

Internet Shortcuts have the file extension .url, but you never see that
extension because it's Hidden. There is a registry setting for
InternetShortcut called NeverShowExt that is set to not show the .url
extension.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In

Shouldn't that be Hits of the 30's and 40's for your era?
 
Shouldn't that be Hits of the 30's and 40's for your era?

Hey!

I thought that renaming the shortcut to Steve was a nice touch. :-D

The reason that I have that link is I heard a song the other day on KOOL 105
about Bill Gates and the devil. It goes to the tune of The Devil Went Down
to Georgia. I was waiting for them to post a link to the mp3. They posted
a link but it's upgefucht. I hope they fix the link, the song is funny.
;-)

"To go along with the release of the new Windows Vista, here's a song that
explains how Bill Gates makes all his money."

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Right, now first off, thanks very much for the info Wesley: I hadn't looked
into the names as being separate from addresses thing before: thought it was
all part of the same string.

You didn't actually say why the shortcut fit on the desktop (I don't have it
web active as that ruins all the icons) but not in an ordinary folder, but
that is not really the important thing.

I notice however, that I have missed your original reply, so I'm probably
not downloading often enough, but what is more worrying is to see that my
message headers now have " hunted and pecked:" added, which was nothing to
do with me!

I hope I am not being got at!

Cheers,

S
 
Click this link

My original reply will open in Outlook Express.

microsoft.public.windowsxp.general
Web link OK for Desktop but too long for other folders?
http://groups.google.com/group/micr...+OK+for+Desktop&rnum=1&hl=en#ac0d3724e296c157
You didn't actually say why the shortcut fit on the desktop (I don't have
it web active as that ruins all the icons) but not in an ordinary folder,
but that is not really the important thing.

Because the path and the file name added up to too many characters.

255, 256 or 260 these numbers are so close that you can probably substitute
one for the other. The problem is when you get close to any of them you can
run into problems.

Here's some info.

File names in XP can have up to 255 characters.

Most PROGRAMS only recognize a PATH length of around 256 characters.

The path can only have 260 characters. A path is structured as follows:
drive letter, colon, backslash, components separated by backslashes, and a
null-terminating character. For example, the maximum path on the D drive is
D:\<256 chars>NUL.

[[Win32 programs are limited to a 256-character string size limit because of
the MAX_PATH variable. Software programs can work around this problem by
passing Win32 a path that is MAX_PATH or less. The real underlying path can
then be accessed independently of the real length of the path. In this way,
a program can access files or directories beyond MAX_PATH on the server. ]]
Path Too Long Error Message When Exceeding MAX_PATH
http://support.microsoft.com/kb/177665

I just named a txt file with this name...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat.txt

That is the maximum number of characters that I could get, around 190.
Windows would not let me type any more characters.

This is the actual path to the file...
C:\Documents and Settings\Wesley P. Vogel\Desktop\New Folder(2)\
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat.txt

190 characters in the name.
3 characters in the extension.
14 characters in New Folder (2)
15 characters in Wesley P. Vogel
22 characters in Documents and Settings
----------
About 244 characters total. It's possible that I may have miscounted.
Close enough for the girls that we go with. ;-)

I tried to drag that 190 character file to this folder...
C:\Documents and Settings\Wesley P. Vogel\My Documents\My Download
Files\Batch Files\advanced\DISK

This is the *exact* error message that I got...
---------------------------
Error Moving File or Folder
---------------------------
Cannot move
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat: The file name you specified is not
valid or too long.
Specify a different file name.
---------------------------
OK
---------------------------

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
When I went to delete New Folder (2), I got this error:

---------------------------
Confirm File Delete
---------------------------
The folder 'New Folder (2)' contains items whose name is too long for
the Recycle Bin.

Do you want to permanently delete it?
---------------------------
Yes Yes to All No Cancel
---------------------------

So I clicked on Cancel.
I opened New Folder (2).
I renamed that 190_character-named.txt file to at.txt.
I then was able to delete the New Folder (2).

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Wesley Vogel said:
Click this link

My original reply will open in Outlook Express.

microsoft.public.windowsxp.general
Web link OK for Desktop but too long for other folders?
http://groups.google.com/group/micr...+OK+for+Desktop&rnum=1&hl=en#ac0d3724e296c157
You didn't actually say why the shortcut fit on the desktop (I don't have
it web active as that ruins all the icons) but not in an ordinary folder,
but that is not really the important thing.

Because the path and the file name added up to too many characters.

255, 256 or 260 these numbers are so close that you can probably
substitute one for the other. The problem is when you get close to any
of them you can run into problems.

Here's some info.

File names in XP can have up to 255 characters.

Most PROGRAMS only recognize a PATH length of around 256 characters.

The path can only have 260 characters. A path is structured as follows:
drive letter, colon, backslash, components separated by backslashes, and a
null-terminating character. For example, the maximum path on the D drive
is D:\<256 chars>NUL.

[[Win32 programs are limited to a 256-character string size limit because
of the MAX_PATH variable. Software programs can work around this problem
by passing Win32 a path that is MAX_PATH or less. The real underlying
path can then be accessed independently of the real length of the path.
In this way, a program can access files or directories beyond MAX_PATH on
the server. ]] Path Too Long Error Message When Exceeding MAX_PATH
http://support.microsoft.com/kb/177665

I just named a txt file with this name...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat.txt

That is the maximum number of characters that I could get, around 190.
Windows would not let me type any more characters.

This is the actual path to the file...
C:\Documents and Settings\Wesley P. Vogel\Desktop\New Folder(2)\
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat.txt

190 characters in the name.
3 characters in the extension.
14 characters in New Folder (2)
15 characters in Wesley P. Vogel
22 characters in Documents and Settings
----------
About 244 characters total. It's possible that I may have miscounted.
Close enough for the girls that we go with. ;-)

I tried to drag that 190 character file to this folder...
C:\Documents and Settings\Wesley P. Vogel\My Documents\My Download
Files\Batch Files\advanced\DISK

This is the *exact* error message that I got...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat: The file name you specified is not[/QUOTE]
 
Very thorough replies thank you Wesley - almost beyond the call of duty!

It is now clear that one cannot just shunt files from folder to folder willy
nilly!

Very good,

Cheers,

Steve


Wesley Vogel said:
When I went to delete New Folder (2), I got this error:

---------------------------
Confirm File Delete
---------------------------
The folder 'New Folder (2)' contains items whose name is too long for
the Recycle Bin.

Do you want to permanently delete it?
---------------------------
Yes Yes to All No Cancel
---------------------------

So I clicked on Cancel.
I opened New Folder (2).
I renamed that 190_character-named.txt file to at.txt.
I then was able to delete the New Folder (2).

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Wesley Vogel said:
Click this link

My original reply will open in Outlook Express.

microsoft.public.windowsxp.general
Web link OK for Desktop but too long for other folders?
http://groups.google.com/group/micr...+OK+for+Desktop&rnum=1&hl=en#ac0d3724e296c157
You didn't actually say why the shortcut fit on the desktop (I don't
have
it web active as that ruins all the icons) but not in an ordinary
folder,
but that is not really the important thing.

Because the path and the file name added up to too many characters.

255, 256 or 260 these numbers are so close that you can probably
substitute one for the other. The problem is when you get close to any
of them you can run into problems.

Here's some info.

File names in XP can have up to 255 characters.

Most PROGRAMS only recognize a PATH length of around 256 characters.

The path can only have 260 characters. A path is structured as follows:
drive letter, colon, backslash, components separated by backslashes, and
a
null-terminating character. For example, the maximum path on the D drive
is D:\<256 chars>NUL.

[[Win32 programs are limited to a 256-character string size limit because
of the MAX_PATH variable. Software programs can work around this problem
by passing Win32 a path that is MAX_PATH or less. The real underlying
path can then be accessed independently of the real length of the path.
In this way, a program can access files or directories beyond MAX_PATH on
the server. ]] Path Too Long Error Message When Exceeding MAX_PATH
http://support.microsoft.com/kb/177665

I just named a txt file with this name...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat.txt

That is the maximum number of characters that I could get, around 190.
Windows would not let me type any more characters.

This is the actual path to the file...
C:\Documents and Settings\Wesley P. Vogel\Desktop\New Folder(2)\
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat.txt

190 characters in the name.
3 characters in the extension.
14 characters in New Folder (2)
15 characters in Wesley P. Vogel
22 characters in Documents and Settings
----------
About 244 characters total. It's possible that I may have miscounted.
Close enough for the girls that we go with. ;-)

I tried to drag that 190 character file to this folder...
C:\Documents and Settings\Wesley P. Vogel\My Documents\My Download
Files\Batch Files\advanced\DISK

This is the *exact* error message that I got...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat: The file name you specified is
not
valid or too long.
Specify a different file name.
---------------------------
OK
---------------------------

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
[/QUOTE]
 
Hey!

I thought that renaming the shortcut to Steve was a nice touch. :-D

I missed that subtle point - yes nice touch.
The reason that I have that link is I heard a song the other day on KOOL
105
about Bill Gates and the devil. It goes to the tune of The Devil Went
Down
to Georgia. I was waiting for them to post a link to the mp3. They
posted
a link but it's upgefucht. I hope they fix the link, the song is funny.
;-)

"To go along with the release of the new Windows Vista, here's a song that
explains how Bill Gates makes all his money."

<snip>

It sure has gotten wild in wooly in the Vista newsgroups right now.
 
It is now clear that one cannot just shunt files from folder to folder
willy nilly!

Normally this is not a problem, only with file names that are waaaay too
long.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Steve Hawkins said:
Very thorough replies thank you Wesley - almost beyond the call of duty!

It is now clear that one cannot just shunt files from folder to folder
willy nilly!

Very good,

Cheers,

Steve


Wesley Vogel said:
When I went to delete New Folder (2), I got this error:

---------------------------
Confirm File Delete
---------------------------
The folder 'New Folder (2)' contains items whose name is too long for
the Recycle Bin.

Do you want to permanently delete it?
---------------------------
Yes Yes to All No Cancel
---------------------------

So I clicked on Cancel.
I opened New Folder (2).
I renamed that 190_character-named.txt file to at.txt.
I then was able to delete the New Folder (2).

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
Wesley Vogel said:
Click this link

My original reply will open in Outlook Express.

microsoft.public.windowsxp.general
Web link OK for Desktop but too long for other folders?
http://groups.google.com/group/micr...+OK+for+Desktop&rnum=1&hl=en#ac0d3724e296c157
You didn't actually say why the shortcut fit on the desktop (I don't
have
it web active as that ruins all the icons) but not in an ordinary
folder,
but that is not really the important thing.

Because the path and the file name added up to too many characters.

255, 256 or 260 these numbers are so close that you can probably
substitute one for the other. The problem is when you get close to any
of them you can run into problems.

Here's some info.

File names in XP can have up to 255 characters.

Most PROGRAMS only recognize a PATH length of around 256 characters.

The path can only have 260 characters. A path is structured as follows:
drive letter, colon, backslash, components separated by backslashes, and
a
null-terminating character. For example, the maximum path on the D
drive is D:\<256 chars>NUL.

[[Win32 programs are limited to a 256-character string size limit
because of the MAX_PATH variable. Software programs can work around
this problem by passing Win32 a path that is MAX_PATH or less. The real
underlying path can then be accessed independently of the real length
of the path. In this way, a program can access files or directories
beyond MAX_PATH on the server. ]] Path Too Long Error Message When
Exceeding MAX_PATH http://support.microsoft.com/kb/177665

I just named a txt file with this name...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat.txt

That is the maximum number of characters that I could get, around 190.
Windows would not let me type any more characters.

This is the actual path to the file...
C:\Documents and Settings\Wesley P. Vogel\Desktop\New Folder(2)\
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat.txt

190 characters in the name.
3 characters in the extension.
14 characters in New Folder (2)
15 characters in Wesley P. Vogel
22 characters in Documents and Settings
----------
About 244 characters total. It's possible that I may have miscounted.
Close enough for the girls that we go with. ;-)

I tried to drag that 190 character file to this folder...
C:\Documents and Settings\Wesley P. Vogel\My Documents\My Download
Files\Batch Files\advanced\DISK

This is the *exact* error message that I got...
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaat: The file name you specified is
not
valid or too long.
Specify a different file name.
---------------------------
OK
---------------------------

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In Steve Hawkins <steve.a.hawkins@ntl(nospam)world.com> hunted and pecked:
Right, now first off, thanks very much for the info Wesley: I hadn't
looked into the names as being separate from addresses thing before:
thought it was all part of the same string.

You didn't actually say why the shortcut fit on the desktop (I don't
have
it web active as that ruins all the icons) but not in an ordinary
folder,
but that is not really the important thing.

I notice however, that I have missed your original reply, so I'm
probably
not downloading often enough, but what is more worrying is to see that
my
message headers now have " hunted and pecked:" added, which was
nothing to do with me!

I hope I am not being got at!

Cheers,

S

Shouldn't that be Hits of the 30's and 40's for your era?

Hey!

I thought that renaming the shortcut to Steve was a nice touch. :-D

The reason that I have that link is I heard a song the other day on
KOOL
105
about Bill Gates and the devil. It goes to the tune of The Devil Went
Down
to Georgia. I was waiting for them to post a link to the mp3. They
posted
a link but it's upgefucht. I hope they fix the link, the song is
funny.
;-)

"To go along with the release of the new Windows Vista, here's a song
that explains how Bill Gates makes all his money."

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In Rock <[email protected]> hunted and pecked:
You can rename the link without affecting the URL.

The URL is Uniform Resource Locator (URL)
An address that uniquely identifies a location on the Internet. A
URL for
a
World Wide Web site is preceded with http://, as in this URL
http://www.microsoft.com A URL can contain more detail, such as the
name
of
a page of hypertext, usually identified by the file name extension
.html or
.htm.

Right click a link (Internet Shortcut) and click Properties.
On the General tab, in the box at the top change the name to
whatever you
like.
The box specifies the name and provides a space for you to type a
new name.

Now click on the Web Document tab.
As long as you do NOT change the URL, the shortcut will open
whatever address is in the URL box no matter what name it has.

The Internet Shortcut file name can be anything.

For example.

Right now I have an Internet Shortcut to this...
KOOL 105 Mile High Hits of the 60s and 70s - The Way Kool Morning
Show that is the file name or Internet Shortcut name.
This is the address or URL...
http://kool105.com/pages/70747.php

I just changed the file name to Steve and double clicking the Steve
shortcut
still opens
http://kool105.com/pages/70747.php

Internet Shortcuts have the file extension .url, but you never see
that extension because it's Hidden. There is a registry setting for
InternetShortcut called NeverShowExt that is set to not show the
.url extension.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In Steve Hawkins <steve.a.hawkins@ntl(nospam)world.com> hunted and
pecked:
Only just come across this curiosity:

Why is it that a web link that is sent as shortcut to Desktop
(which appears like any other folder in my folder tree), gets
rejected as 'too long please rename', when I try to move it into
another folder? Obviously, one does not want to rename a link as
it would then stop working!

Shouldn't that be Hits of the 30's and 40's for your era?
 
Back
Top