DOS命令静默强制删除文件夹(rm -rf)

I came across a serious problem, it can be said to be a DB2 bug. Always, when replicating db between three or more dbs, it prompts that c:\QSASNQA is buffer full. so I have to del it maunally which doesn’t meet the automation goal. Use this cmd in bat:

RD C:\QSASNQA /s /q

/s del non-empty dir /q silent mode

Leave a Comment.