New
#1
Can a batch file pause to enter a password?
I use Windows 7 Pro.
I have made a batch file to quickly back up certain files.
If I need to encrypt a backed-up file, I use WinZip to compress and encrypt it.
To encrypt, WinZip requires that you manually specify a password. This password must be entered repeatedly throughout the batch file. I'd like the batch file to pause the first time, wait for me to enter the password, then proceed, automatically entering that password whenever it is requested again.
Can this be done?
PS: I used to specify the password in the batch file itself, but that's not very secure. Anyone viewing the batch file could discern the password.