Desk Top Shortcut - deleting.

T

thgirbla

I have two shortcut icons on my Desktop that were created
to WebPages.

Everytime I try to delete one I get this message........

"Error Deleting File or Folder. Cannot delete file: The
file name you specified is invalid or too long. Specify a
different filename." with the
usual "OK" button.

When I try to drag and drop them in the Recycle Bin, I get
the same message.

When I try to change the name of the Shortcut Icon to a
shorter name, I get the same error message.

Any suggestion would be appreciated.
 
W

Wadester

thgirbla said:
I have two shortcut icons on my Desktop that were created
to WebPages.

Everytime I try to delete one I get this message........

"Error Deleting File or Folder. Cannot delete file: The
file name you specified is invalid or too long. Specify a
different filename." with the
usual "OK" button.

When I try to drag and drop them in the Recycle Bin, I get
the same message.

When I try to change the name of the Shortcut Icon to a
shorter name, I get the same error message.

Just some thoughts:

* From a command prompt, try deleting the file by short name (i.e.,
first 6 characters of name plus ~1.extension).
* Put the filename in double-quotes
* Zip the file (using "move") and delete the zipfile
* Download CygWin and use rm

ws
 
D

David Trimboli

Wadester said:
* From a command prompt, try deleting the file by short name (i.e.,
first 6 characters of name plus ~1.extension).

If the too-long filenames begin similarly, they may have the same short name
except for the number at the end. Alternatively, try using wildcards in the
del command. First open cmd.exe. Next, type the command:
cd %userprofile%\desktop
Finally, type the command
del "xxx....*"
where xxx... is however many letters it takes at the beginning of the
filename to make it unique. For instance, if I want to delete the file
"Please delete me.lnk" but not the file "Please don't delete me.lnk", I'd
type
del "Please de*"
Repeat the DEL command for the other filename, if necessary.
* Put the filename in double-quotes
* Zip the file (using "move") and delete the zipfile
* Download CygWin and use rm

You're kidding, right? Someone having trouble deleting a file with a
too-long filename, and you suggest installing CygWin? Just to delete two
files? CygWin is confusing enough for savvy users!

David
Stardate 3832.0
 
R

Reinhardt Kern

thgirbla said:
I have two shortcut icons on my Desktop that were created
to WebPages.

What are the names of the files?
Maybe LPT:, CON:, COM1: or PRN: ?

Reinhardt :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top