|@Razor: wow, that's (setx) a new one for me, it's impressive! too bad it's not on xp.|
@op: One good thing about a separate text file: if you want to hide passwords, at least you can zip it encrypted with a "master" password. You could also append it to a random media file (jpg, mp3, bmp, etc) to hide it. But of course, if you use your batchfile to extract the passwords, then the master password, (and the target file and methodology) will be plain for anyone to examine in the code unless you use a batch-encryptor.