The batch variable substring syntax only works with environment-style variables, ie ones that are substituted thus %var% .
It doesn't work with command line parameters (and I assume not for FOR placeholders either).
Anti-nuisance lawsuit warning: The purpose of these notes is to remind me, Zoegond, of stuff or to help me work stuff out. They may contain mistakes.
Quick
- ($a, $b....) = unpack("A2A7...", $packed)
- push( array, list )