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 [<switch>…] <source> <destination>

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

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

-rename: Renames a file.
<source> and <destination> 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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s