Vipul Posted July 22, 2008 Posted July 22, 2008 Dear all,This is my first post to the forum.I need a script which allows me to do following tasks:I have file named as book1.xls on my desktopI ant to zip that file which will become book1.zipAfter that this file will have to go to c:\personel folder.Only this much task is required.please guide me... Quote
NIM Posted July 22, 2008 Posted July 22, 2008 Dear all,This is my first post to the forum.I need a script which allows me to do following tasks:I have file named as book1.xls on my desktopI ant to zip that file which will become book1.zipAfter that this file will have to go to c:\personel folder.Only this much task is required.please guide me...Would you like to zip it with Winzip, Winrar or with Windows? Quote
NIM Posted July 23, 2008 Posted July 23, 2008 If you want to use WinZip for that, here's how to do it:First install Winzip Command Line addons http://www.winzip.com/prodpagecl.htmand use this script:wzzip %path to the desired folder%for example:wzzip c:\temp\test.zipIn this way you don't have to copy anything, you just run the scrip in the folder where is the file that you want to zip and copy and specify the target folder in command line..Hope this helps.. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.