Question: 2 . Write a script that: 1 . Deletes all previously created directories from C: bkp Firefox 2 . Writes the amount

2. Write a script that:
1. Deletes all previously created directories from C:\bkp\Firefox\
2. Writes the amount of memory used by Firefox to a file C:\bkp\Firefox\%DATE%%TIME%\firefox.txt (%DATE% and %TIME% are current date and time)(if Firefox is running)
3. Kills Firefox process (if it is running)
4. Archives content of the Firefox profile directory to C:\bkp\Firefox\%DATE%%TIME%\firefox.zip
5. Deletes the original Firefox profiles directory
6. Shuts down the computer

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!