Jump to content


Simple way to delete protected corrupted file.


2 replies to this topic

#1 Benny Lo

    EEEmazing User

  • Members
  • 5,366 posts

Posted 16 March 2009 - 04:25 PM

An annoying corrupted protected rubbish file had already stayed in one of my desktop screen for a few months.

Today, I read from a computer magazine mentioning the following method which could successfully delete it.

Create a batch file with the following content:

DEL /F /A /Q \\?\%1
RD /S /Q \\?\%1

save it with extention .bat

Put this file at the same directory level as the target file(s), then move the target file(s) on to this batch file icon. That's it. :D
702 Black 8G XPP2+EWF | 2GB RAM | XPP3 on SDHC (Fat32) in internal cardreader
S101 Brown 16G XPH SP3 / Win7 RTM | 2GB RAM | 16G SDHC (Fat32)
Asus S5N Centrino XPP2 | 768M RAM | With 8 & 32GB CF Cards as HDD
ASRock N330 (Non-Ion) ITX desktop XPP3 / Win7 RTM | 2 X 1GB RAM Dual Channel

#2 brucine

    ExtrEmE User

  • Members
  • 2,479 posts

Posted 16 March 2009 - 05:50 PM

Any removing dos command most often (and not always, are you say) does the job as long as it is operated from vanilla dos mode (floppy, dos usb stick...).
Why use a bat when you can run it from the command line?

Your command is potentially dangerous because the RD /S /Q syntax removes every file in the culprit folder in quiet mode (no confirmation) if improperly handled.

Moreover, the standard batch file in a nt system is not bat by cmd, and you could be thrown out of some systems set not to run any bat file, even under administrative rights (it is also imperitious to allow cmd to user rights).
Last, the nt systems do not have a pure dos mode, and only run emulated dos: windows services and tsr are still loaded in the background unless doing the job with a F8 boot, thus keeping you to delete such files in several situations (including malware).

#3 messsy

    Advanced Member

  • Members
  • PipPipPip
  • 76 posts

Posted 07 March 2011 - 11:49 PM

or use unlocker :)





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users