hal sez , : The other errors you are getting are probably due to the difference : between binary and ascii I/O mode on DOS. I forgot about that : in my test script. Try this revision of pgppadt.pl, and let me know if : it works on DOS: works like a charm , thanks !