Completely unrelated to your script problem but you should definitely take a look at pwgen (there's a cygwin package).
-- Primary key fingerprint: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56
signature.asc
Description: Digital signature
Completely unrelated to your script problem but you should definitely take a look at pwgen (there's a cygwin package).
-- Primary key fingerprint: AD8F BDC0 5A2C FD5F A179 60E7 F79B AB04 5299 EC56
signature.asc
Description: Digital signature