Go Back   Cyber Tech Help Support Forums > Operating Systems > Windows 7

Notices

Windows 7 Problem solving for the Windows 7 Operating System. Please remember to state which edition of Windows 7 you are using - Starter, Home Basic, Home Premium, Professional, Enterprise or Ultimate.

Reply
 
Topic Tools
  #1  
Old March 16th, 2013, 08:04 PM
kuzzz's Avatar
kuzzz kuzzz is offline
CTH Subscriber
 
Join Date: May 2003
O/S: Windows 7 64-bit
Location: california
Posts: 1,671
Can't delete

I have a file that won't let me delete it. It was a picture sent to me through skype that I could not open and so I deleted it but apparently part of the file was left behind and now when I try to delete it, I get the message that the file cannot be found, try again. The name of the file lp.aspx. Is there a trick to getting rid of this file on my desktop. I tried changing the file extension but that didn't work.

Thank you
kuzzz
Reply With Quote
  #2  
Old March 17th, 2013, 05:07 AM
Murf's Avatar
Murf Murf is offline
Moderator
 
Join Date: Oct 2001
O/S: Windows XP Pro
Posts: 17,424
Try it in SAFE MODE.
Reply With Quote
  #3  
Old March 17th, 2013, 02:54 PM
Digerati Digerati is offline
Senior Member
 
Join Date: Jan 2007
Location: Nebraska, USA
Posts: 2,562
If Safe Mode does not allow you to delete the file, try MoveOnBoot. It lets you tag stubborn files (or folders) for deletion early during the next boot cycle [hopefully] before the operating system or any application can set hooks in it, thus allow it to be deleted.
Reply With Quote
  #4  
Old March 18th, 2013, 12:30 PM
vaughan's Avatar
vaughan vaughan is offline
New Member
 
Join Date: Nov 2012
O/S: Windows 7 32-bit
Posts: 22
If the above suggestions does not help you, you can delete using Command Prompt. If you want i will help you.
Reply With Quote
  #5  
Old March 18th, 2013, 07:18 PM
kuzzz's Avatar
kuzzz kuzzz is offline
CTH Subscriber
 
Join Date: May 2003
O/S: Windows 7 64-bit
Location: california
Posts: 1,671
Yes please I would like to know how to do it using command prompt. I working on learning the many uses of command prompt.
Thank you
kuzzz
Reply With Quote
  #6  
Old March 18th, 2013, 08:24 PM
Murf's Avatar
Murf Murf is offline
Moderator
 
Join Date: Oct 2001
O/S: Windows XP Pro
Posts: 17,424
You will need to know where the file is at. If on your desktop then:


1. Start | Search

2. Type in cmd

3. Above will see cmd, right click and Run as Administrator it should bring you to:

C:\Windows\System32 with a flashing cursor

4. Now type the following hitting <enter>

Del /F /Q /A C:\users\ (your name of the user folder example-Kuzzz)\Desktop\lp.aspx

Hit <enter>

What this means is;

Del = Delete
/F = force deleting
/Q = quiet mode, which does not prompt and confirmations
/A= allows file attributes (ex: hidden files, read only files, etc to be deleted)
C: (drive) followed by the user directory, username, location and file name
Reply With Quote
  #7  
Old March 18th, 2013, 08:32 PM
kuzzz's Avatar
kuzzz kuzzz is offline
CTH Subscriber
 
Join Date: May 2003
O/S: Windows 7 64-bit
Location: california
Posts: 1,671
Thank you I love learning something new.

kuzzz
Reply With Quote
  #8  
Old March 18th, 2013, 10:13 PM
Murf's Avatar
Murf Murf is offline
Moderator
 
Join Date: Oct 2001
O/S: Windows XP Pro
Posts: 17,424
Let us know if that worked?
Reply With Quote
  #9  
Old March 19th, 2013, 01:52 PM
vaughan's Avatar
vaughan vaughan is offline
New Member
 
Join Date: Nov 2012
O/S: Windows 7 32-bit
Posts: 22
Murf The moderator is very quick. He replied the way i suggested.

Thanks Murf.
Reply With Quote
  #10  
Old March 19th, 2013, 03:36 PM
Digerati Digerati is offline
Senior Member
 
Join Date: Jan 2007
Location: Nebraska, USA
Posts: 2,562
Of course, if the OS sinks hooks in the file, you still will not be able to remove it, even from the command prompt.

Note if you enter from the command prompt del /? you will see the /f switch forces a delete for "Read Only" files. It does not force a delete of opened files (the likely problem here).

Worth a try if you are comfortable using the command prompt, just don't expect miracles.

In any case, if you decide to use the command prompt, boot into Safe Mode with Command Prompt for your best chance of success.
Reply With Quote
  #11  
Old March 21st, 2013, 07:18 PM
tomstonsils59 tomstonsils59 is offline
Senior Member
 
Join Date: Jul 2001
Location: phila.
Posts: 865
Kuzzz, curious did any of the suggestions work???
Reply With Quote
  #12  
Old March 21st, 2013, 08:50 PM
renegade600's Avatar
renegade600 renegade600 is offline
CTH Subscriber
 
Join Date: Sep 2003
O/S: Linux
Location: Osceola, Ar
Posts: 26,675
just a side note since there are already some good valid suggestions, when I cannot delete something, I just boot to a linux live cd and delete it :-)
Reply With Quote
  #13  
Old March 21st, 2013, 09:08 PM
Digerati Digerati is offline
Senior Member
 
Join Date: Jan 2007
Location: Nebraska, USA
Posts: 2,562
Yep, that usually works too - if you have Linux disk laying around.
Reply With Quote
  #14  
Old March 21st, 2013, 11:18 PM
kuzzz's Avatar
kuzzz kuzzz is offline
CTH Subscriber
 
Join Date: May 2003
O/S: Windows 7 64-bit
Location: california
Posts: 1,671
CMD worked just fine. Thank you all for all the suggestions.

kuzzz
Reply With Quote
  #15  
Old March 22nd, 2013, 04:13 PM
Digerati Digerati is offline
Senior Member
 
Join Date: Jan 2007
Location: Nebraska, USA
Posts: 2,562
Quote:
Originally Posted by kuzzz View Post
CMD worked just fine. Thank you all for all the suggestions.

kuzzz
Great! Thanks for the update.
Reply With Quote
Reply

Bookmarks

Topic Tools

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

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

Forum Jump

Similar Topics
Topic Topic Starter Forum Replies Last Post
How do I delete a file that won't delete? m_ski Windows XP 2 August 9th, 2009 10:44 PM
Hijack This Log: What to delete/ not to delete mynameissean Malware Removal 1 November 30th, 2008 02:24 AM
How to delete files that don't want to delete? bol1 Windows XP 3 January 18th, 2008 03:00 AM
cant delete.... swiftymcvay Windows XP 2 July 30th, 2004 08:35 PM


All times are GMT +1. The time now is 04:24 PM.