开发者

winrar not closing correctly?

开发者 https://www.devze.com 2023-01-13 05:15 出处:网络
I have this script that runs by a windows task scheduler once a week: for /f \"delims==\" %%D in (\'DIR D:\\scripts /A /B /S\') do ( \"C:\\Program Files\\WinRAR\\WinRAR.EXE\" a -agyyyy-MM-dd -r \"c:\

I have this script that runs by a windows task scheduler once a week:

for /f "delims==" %%D in ('DIR D:\scripts /A /B /S') do ( "C:\Program Files\WinRAR\WinRAR.EXE" a -agyyyy-MM-dd -r "c:\backup\scripts.rar" "开发者_StackOverflow社区%%D" )

by a bat file. My question is after this bat file runs and completes, I look in my windows task manager i still have around 10 winrar.exe running, does it mean that my script/bat is not closing winrar correctly? am i missing something at the end of the script?


Using the command-line version, rar.exe, will remove this problem.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号