Skip to content

Commit 24c2374

Browse files
authored
v6.5
minor adjustment to cleanup command
1 parent e121a12 commit 24c2374

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Compressed 2 TXT.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ if (!$env:1) { timeout -1; return }
9898
$output = $dir + "\$fn1~.cab"
9999
write-host "`nCAB archive only $output ..."
100100
move -lit "$work\1.cab" -dest $output -force -ea 0
101-
push-location -lit $root; if (test-path -lit $work) {start -nonew cmd "/d/x/c rmdir /s/q ""$work""" >''}
101+
push-location -lit $root; if (test-path -lit $work) {start -nonew -file cmd -args "/d/x/c rmdir /s/q ""$work"">nul 2>nul"}
102102
$timer.Stop()
103103
write-host "`nDone in $([math]::Round($timer.Elapsed.TotalSeconds,4)) sec" -fore Cyan
104104
return
@@ -154,7 +154,7 @@ FileStream(fo,FileMode.Create)){for(int i=0;i!=z;i++){c=b91[f[x][i]]; if(c==91)c
154154
write-host "`ndecoding key saved separately to $fn1~key.ini" -fore Yellow; write-host "$key`n"
155155
} else {del $outputkey -force -ea 0 >''}
156156
## Done - cleanup $work dir and write timer
157-
push-location -lit $root; if (test-path -lit $work) {start -nonew cmd "/d/x/c rmdir /s/q ""$work""" >''}
157+
push-location -lit $root; if (test-path -lit $work) {start -nonew -file cmd -args "/d/x/c rmdir /s/q ""$work"">nul 2>nul"}
158158
$timer.Stop()
159159
write-host "`nDone in $([math]::Round($timer.Elapsed.TotalSeconds,4)) sec" -fore Cyan
160160
timeout -1; return

0 commit comments

Comments
 (0)