Friday, November 12, 2010

PyRebootOps

Introduction

Often in Windows systems we observe that move or delete operations can’t be executed on a file if it’s locked. Files can get locked if different processes start accessing it or if the file has already been loaded in RAM.

Such problems can be resolved by scheduling file operations for the next system restart before the processes or services start and set locks on the files.

PyRebootOps is a Python utility that uses windows mechanism for scheduling operations on a file so that these operations can be executed during next system restart.

PyRebootOps

* Schedules – Move, Rename, Delete operations on locked files.
* View and Reset scheduled operations.
* Restart the user system.

PyRebootOps Help

***********************************************************
PyRebootOps1.0: Schedule file opeartions to be executed
during the next system reboot. – Chetan Giridhar
***********************************************************

syntax: PyRebootOps.exe [...]

-move: Moves a file from source to destination.
and are required.

-delete: Deletes the file from the harddisk after reboot.
not required.

-rename: Renames a file.
and are required.

-scheduled: Prints all the scheduled operations for the next reboot.

-reset: Resets all the operations that were previously scheduled.

-reboot: Restarts the system after a timeout of 1 sec.

PyRebootOps on sourceforge

No comments: