From 24c2374f8b76388c30a2ceb4f675083d17cddb43 Mon Sep 17 00:00:00 2001 From: AveYo Date: Sun, 14 Nov 2021 19:06:52 +0200 Subject: [PATCH] v6.5 minor adjustment to cleanup command --- Compressed 2 TXT.bat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Compressed 2 TXT.bat b/Compressed 2 TXT.bat index 484eaf0..0bbb583 100644 --- a/Compressed 2 TXT.bat +++ b/Compressed 2 TXT.bat @@ -98,7 +98,7 @@ if (!$env:1) { timeout -1; return } $output = $dir + "\$fn1~.cab" write-host "`nCAB archive only $output ..." move -lit "$work\1.cab" -dest $output -force -ea 0 - push-location -lit $root; if (test-path -lit $work) {start -nonew cmd "/d/x/c rmdir /s/q ""$work""" >''} + push-location -lit $root; if (test-path -lit $work) {start -nonew -file cmd -args "/d/x/c rmdir /s/q ""$work"">nul 2>nul"} $timer.Stop() write-host "`nDone in $([math]::Round($timer.Elapsed.TotalSeconds,4)) sec" -fore Cyan 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 write-host "`ndecoding key saved separately to $fn1~key.ini" -fore Yellow; write-host "$key`n" } else {del $outputkey -force -ea 0 >''} ## Done - cleanup $work dir and write timer - push-location -lit $root; if (test-path -lit $work) {start -nonew cmd "/d/x/c rmdir /s/q ""$work""" >''} + push-location -lit $root; if (test-path -lit $work) {start -nonew -file cmd -args "/d/x/c rmdir /s/q ""$work"">nul 2>nul"} $timer.Stop() write-host "`nDone in $([math]::Round($timer.Elapsed.TotalSeconds,4)) sec" -fore Cyan timeout -1; return