How to recurse encrypt files

Ryan Malayter rmalayter@bai.org
Wed Jan 16 23:05:01 2002


Timo Schultz wrote:
>In some cases scripts may be more handy but especially
>for the W32 environment this commands should provide an 
>easy way for handling more files with one process call.

The Windows NT/2000/XP shell supports the FOR command as well, although
almost nobody in the Windows world seems to use it outside of login scripts.
The syntax to recursively encrypt is:

FOR /R %f IN (*) DO gpg -r <recipient> -e "%f"

:::Ryan Malayter
:::Network Engineer
:::Bank Administration Institute
:::Chicago, Illinois, USA