on 09-25-2009 7:48 AM
Hello Friends ,
i need to zip a file with password protection . For this i need create a batch file using dos command .
my question is that .....how can i pass variable in this batch file (variable having name of file name , variable of having password ) .
Please provide that script of dos command which will make the file zipped and password protected ....
Thanks and Regards...
Priyank Dixit
search for PKZIP syntax and usage at http://www.pkware.com/software-pkzip/dos-compression
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This is the link where you would find help on using variables in a batch file
"http://www.computerhope.com/batch.htm"
You can get input using % in the batch file
For using password protection, you can try "winzip" or "winrar" on command line
I am not sure about "winzip" but "winrar" has a command line version "rar.exe" that would work fine.
Regards,
Ashutosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.