Jessie
Jessie

Reputation: 1

winrar not closing correctly?

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" "%%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?

Upvotes: 0

Views: 1248

Answers (1)

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798636

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

Upvotes: 1

Related Questions