Author Topic: Suppress "OK to delete HIDDEN/System file" prompt  (Read 60 times)

TRexx

  • Trusted Member
  • Wise Sage
  • ******
  • Posts: 4455
    • View Profile
Suppress "OK to delete HIDDEN/System file" prompt
« on: February 21, 2010, 01:38:39 pm »
I recently picked up a  1Tb disk (about 1,000 times as much capacity as the entire DASD farm at my first job) and am moving a lot of files around.   Occasionally I run into a hidden or system file (often Thumbs.db) and the process screeches to a halt until I respond to the "Are you really, really sure you want to delete a hidden or system file" prompt.

Is there a way I can suppress this and just default to OK?

(Running Windows XP if it makes a difference)



DarkHumour

  • Trusted Member
  • Wise Sage
  • ******
  • Posts: 1787
    • View Profile
delete
« Reply #1 on: February 21, 2010, 07:02:42 pm »
del *.* /f (force) /s (subdirectory) doesn't do it?   If you boot to a winpe / bartpe disk you can delete them from the disk. 

rmdir *.* /s /q may also work.

I've run into this issue when cleaning up NTFS partitions back into FAT32 for testing windows xp setups repeatedly. 

TRexx

  • Trusted Member
  • Wise Sage
  • ******
  • Posts: 4455
    • View Profile
Suppress "OK to delete HIDDEN/System file" prompt
« Reply #2 on: February 21, 2010, 07:19:23 pm »
I'm not trying to delete everything on the disk. I'm moving several folders (some of which may contain these hidden files) from one disk to another.   It's annoying because I drag the selected folders to the new disk then walk away.  (there are many large files involved. The process may take a few hours).  Then I come back expecting it to be done and see it's waiting for me to reply to that message.

I was hoping there was a switch I could set that suppresses the message.

I suppose I could copy the files then go back and delete them from the source.


Share me

Digg    SlashDot  Delicious  Technorati    Google  Yahoo
Smf