View Single Post
  #53  
Old 07-01-2019, 06:49
vollachr's Avatar
vollachr vollachr is offline
Conversions & UCC Creator
 
Join Date: Sep 2009
Location: Israel
Posts: 247
Thanks: 58
Thanked 536 Times in 186 Posts
vollachr is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Is this still batch or powershell?

Something like this:
Set DVD size (type [D5,D9,BD25,...])
If archive X is Y bytes/mb, do DVD size minus archive X size

Example:
Data1a.bin -> 4470mb
Data1b.bin -> 1000mb
Data2a.bin -> Calc [DVD size] minus previous archive size (Data1b.bin) = Data2a.bin size
Data2b.bin -> 3456mb
Data3a.bin -> Calc [DVD size] minus previous archive size (Data2b.bin) = Data3a.bin size
...
..
.
and so on.

I know it's possible to check a file size in batch and powershell. The problem (for me) would be to store the info in a variable, do the math and give the result to the next archive.
Nope, no longer batch/powershell, it's being re-written in AutoIT Scripting Language, it's an "actual" GUI program, not a GUI frontend for a batch/powershell script.

Anyway, might look into it at a later time, as I said, first thing is complete the main functions.
__________________

Ultimate Conversion Compressor Creator (Discontinued/Abandoned)
My Other Tools: File Splitter and Merger - Multiple Text/String Replacer (MTSR) - UCC Files & Folders Lister
Microsoft Certified Professional
Retired Conversion Creator
Reply With Quote
The Following User Says Thank You to vollachr For This Useful Post:
KaktoR (09-01-2019)