> How can I do these simple series of tasks automatically?

How can I do these simple series of tasks automatically?

Posted at: 2014-12-18 
Twice a day, do the following:

1. close firefox, copy folder "x" and paste in a shared folder, then re-open firefox and delete all cache except one cookie

2. 7zip folder "x" so it transfers more easily over the network

3. delete the original folder "x" after zipping

4. on machine 2, browse to the shared network location and copy over the zipped file and then extract it after it's done downloading

Are these tasks near impossible to do programmatically on Win7?