Python CLI app used to find processes that are using (locking) the file. The app can unlock (kill proceses) the file, and delete it if needed.
In order to be able to run this app from the command prompt, you first need to install Python on your machine. You can download it from here. Also make sure to add python install directory to PATH variable.
When you have successfully installed python, go to this project root directory where setup.py is located. Open command prompt as an administrator and run the following commands in order:
pip install psutil
python setup.py install
After the successful installation, the unlocker command will be available anywhere in Windows!
The basic command to run the CLI is unlocker, and the basic usage is:
unlocker -f=file_to_unlock.txt
- -f, --file -> File name from your command prompt current working directory you wish to unlock/delete.
- -u, --unlock -> If present, tells the script that you wish to automatically kill all processes that are locking the file.