Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to get 7-Zip Manager to zip my wwwroot folder on a weekly basis. Is it possible to automate this with Windows 7 Task Scheduler, and if so, what are the exact steps to do this?

share|improve this question

1 Answer 1

up vote 7 down vote accepted

You would need to create a Windows Batch file that will do that actually ZIP, and then schedule this in Task Scheduler to run on a weekly schedule.

The 7-Zip command-line samples are available here and a step by step guide to Windows 7 Task Scheduler is available here. Lastly to create a batch file use notepad and create a new file with a .BAT extension as follows

@echo off
[7zip command line here]

Save the file somewhere on your drive and point the scheduled task to it. Complete details on batch files are available here.

share|improve this answer
    
Ahan, any idea on how do I create this sort of batch file? Thanks! –  ymasood Sep 3 '09 at 8:26
    
Thank you, that does the job. Wonderful answer! –  ymasood Sep 3 '09 at 8:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.