I created a folder on Windows, C: \ tmp \, and I want it to behave like / tmp / folder on Linux, i.e. its contents are deleted each time the system boots.
I think the commands to run can be (at least on windows 7):
RD C:\tmp /S /Q
MKDIR C:\tmp
A way to execute these commands on every boot? Or, the best way to do this?
source
share