質問編集履歴
3
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -54,7 +54,7 @@
|
|
54
54
|
|
55
55
|
rem ログファイル削除
|
56
56
|
|
57
|
-
for %%A in (log txt) do forfiles /P "%backupdir%" /M *.%%A /S /D %days% /C "cmd /c
|
57
|
+
for %%A in (log txt) do forfiles /P "%backupdir%" /M *.%%A /S /D %days% /C "cmd /c del /F /S /Q @file" >>%output%
|
58
58
|
|
59
59
|
|
60
60
|
|
@@ -78,7 +78,7 @@
|
|
78
78
|
|
79
79
|
```ここに言語を入力
|
80
80
|
|
81
|
-
for %%A in (log txt) do forfiles /P "%backupdir%" /M *.%%A /S /D %days% /C "cmd /c
|
81
|
+
for %%A in (log txt) do forfiles /P "%backupdir%" /M *.%%A /S /D %days% /C "cmd /c del /F /S /Q @file" | find /c /v "">>%output%
|
82
82
|
|
83
83
|
```
|
84
84
|
|
@@ -98,7 +98,7 @@
|
|
98
98
|
|
99
99
|
|
100
100
|
|
101
|
-
for %%A in (log txt) do forfiles /P "%backupdir%" /M *.%%A /S /D %days% /C "cmd /c
|
101
|
+
for %%A in (log txt) do forfiles /P "%backupdir%" /M *.%%A /S /D %days% /C "cmd /c del /F /S /Q @file" >>%output% & set /a cnt+=1
|
102
102
|
|
103
103
|
|
104
104
|
|
2
タグ修正
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|
1
文法修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -54,7 +54,7 @@
|
|
54
54
|
|
55
55
|
rem ログファイル削除
|
56
56
|
|
57
|
-
for %%A in (log txt) do forfiles /P "%backupdir%" /M *.%%A /S /D %days% /C "cmd /c
|
57
|
+
for %%A in (log txt) do forfiles /P "%backupdir%" /M *.%%A /S /D %days% /C "cmd /c @path del /F /S /Q @file" >>%output%
|
58
58
|
|
59
59
|
|
60
60
|
|
@@ -78,7 +78,7 @@
|
|
78
78
|
|
79
79
|
```ここに言語を入力
|
80
80
|
|
81
|
-
for %%A in (log txt) do forfiles /P "%backupdir%" /M *.%%A /S /D %days% /C "cmd /c
|
81
|
+
for %%A in (log txt) do forfiles /P "%backupdir%" /M *.%%A /S /D %days% /C "cmd /c @path del /F /S /Q @file" | find /c /v "">>%output%
|
82
82
|
|
83
83
|
```
|
84
84
|
|
@@ -98,7 +98,7 @@
|
|
98
98
|
|
99
99
|
|
100
100
|
|
101
|
-
for %%A in (log txt) do forfiles /P "%backupdir%" /M *.%%A /S /D %days% /C "cmd /c
|
101
|
+
for %%A in (log txt) do forfiles /P "%backupdir%" /M *.%%A /S /D %days% /C "cmd /c @path del /F /S /Q @file" >>%output% & set /a cnt+=1
|
102
102
|
|
103
103
|
|
104
104
|
|