Happy Dog said:
I have a .jpg file, with a long name, on my desktop. Right clicking
doesn't give any delete or properties options. Just Edit, Preview,
Open With. And,
I can't open it. Any ideas?
To delete an undeletable file.
1. Write down the path and filename of the undeletable file.
2. Open a command prompt window. (Start > Run > cmd.exe)
3. Open the Task Manager. (Start > Run > taskmgr.exe)
4. In the Task Manager, find the process called "Explorer" and end the
process for explorer. (This will make the desktop and taskbar disappear)
5. Close the Task Manager.
6. In the command prompt window, type:
del /a /f "\\?\path\filename"
So if the file was called abc.jpg located in c:\pictures then the command
would look like:
del /a /f "\\?\c:\pictures\abc.jpg"
7. To regain your desktop and taskbar, type the following in the command
prompt window:
explorer.exe
-------
You may wish to read this KB article.
You cannot delete a file or a folder on an NTFS file system volume
http://support.microsoft.com/?kbid=320081