|
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.
__________________
Haters gonna hate
Last edited by KaktoR; 07-01-2019 at 06:46.
|