简体   繁体   中英

Delete directory from batch without recycle bin

I need a small help to delete directory from batch.

I use the command :

RD /S /Q /K c:\MyDirectory

But the system move this directory in the recycle bin, I don't want this. I saw that the option is /k : http://jpsoft.com/help/del.htm

But I have this error :

Invalid switch - "K"

I don't understand why.. Any Ideas ?

RD will bypass the recycle bin.

JPsoft writes a third party cmd replacement, which has extra features.

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