home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch.nt      Fun with Windows NT batch files      68,980 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 67,517 of 68,980   
   JJ to dr.j.r.stockton@gmail.com   
   Re: Command line 7-Zip question - contro   
   29 Mar 20 18:06:20   
   
   From: jj4public@vfemail.net   
      
   On Sat, 28 Mar 2020 13:18:06 -0700 (PDT), dr.j.r.stockton@gmail.com wrote:   
   > I have batch files (in Windows 10, FWIW) using 7-Zip; a copy   
   > of 7z.exe is in a folder on the Path.  They have lines like   
   > this, which work :-   
   >   
   >        7Z a ASTRGRAV.ZIP astr*.htm grav*.htm   
   >   
   > I want to have, on the screen as the lines execute,   
   > (a) much less writing; what I am getting shoots past too   
   >     quickly to be read,   
   > (b) the names of the files, and maybe of the folders, as   
   >     each is being read;   
   > (c) a short settable delay between files, so that I can   
   >     see their names pass by.   
   >   
   > IIRC, with the traditional ZIP (from Garbo) that I used up   
   > to a couple of years ago, I just got (b) without need for (c).   
   >   
   > Is any of that possible, and if so, how (I don't want to do it by   
   > redirection into a pipe or file for subsequent processing for   
   > display) ?   
   >   
   > Also, I want to be sure that the output file has been   
   > compressed into a form which all normal decompressers,   
   > and most operating systems, can decode.   
      
   7-Zip doesn't have any speed throttling feature. Everything will run as fast   
   as possible.   
      
   The only thing which can affect compression speed, is the number of CPU core   
   usage limit, as well as compression type and/or parameters.   
      
   Use third party tool such as BES to throttle the speed of any application.   
   It can be used to set an application speed to e.g. 33% of its full speed.   
      
   7-Zip doesn't support text mode interactive command input like the DISKPART   
   tool either. There's probably other archiever software that has such   
   feature, but I haven't seen any or tried to find one.   
      
   However, with VBScript for example, it can be used to buffer the 7-Zip   
   output, and spit the lines onto screen at slower speed. Of course, this   
   means that while the lines are still being spitted out by the script, 7-Zip   
   may already finished its job and its process has already been terminated.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca