Main
Download
Support
About Us
Last News
Nov 22, 2013
LockHunter 3.1 released! read more
Sep 22, 2013
LockHunter 3.0 released! A stable version! read more
Aug 22, 2013
LockHunter 3.0 beta 1 released! read more
Feb 18, 2012
LockHunter 2.0 beta 2 released! read more
Subscribe News

User manual

Command line options

LockHunter can be used from the command line using the following syntaxis:
LockHunter.exe [/unlock] [/delete] [/kill] [/silent] [/exit] [file_or_folder_path]
  • file_or_folder_path - the path to a file, a folder or a leading part of the path. E.g. K:, C:\Program Files, C:\Docume.
  • /unlock or -u - unlocks the file_or_folder_path. It closes all handles to the files\folder that starts from file_or_folder_path and unloads .dlls which are residing in the files\folder that starts from file_or_folder_path.
  • /delete or -d - unlocks and deletes the file_or_folder_path. If file_or_folder_path is a partial name of a path (e.g. "c:\Docu" is a partial name of "C:\Documents and Settings"), all the files and folders that starts from file_or_folder_path will be deleted. Note, if there's processes launched from file_or_folder_path they will prevent to delete the folder\file. Use /kill parameter to forcibly terminate such apps.
  • /kill or -k - terminates all the apps which are launched from file_or_folder_path. If file_or_folder_path is a partial name of a path (e.g. "c:\Docu" is a partial name of "C:\Documents and Settings"), all the processes which launch paths start from file_or_folder_path string will be terminated.
  • /silent or -sm - no GUI will be displayed. The program starts in silent mode, does one of the passed commands (e.g. /unlock) and terminates.
  • /exit or -x - exits automatically when all actions are done. This option might be required only when you wish to see the GUI, all displayed warnings but do not wish to press the button "exit" manually.
Notes:
  1. If the file_or_folder_path part of command line is not specified all other options will be ignored.
  2. There's no need to use /unlock and /delete commands at the same time since /delete does unlocking and deleting the specified file or folder path.
  3. /kill can be used with both /unlock and /delete commands in order to terminate processes launched from file_or_folder_path if any. Beware you may loose your data if a killed program contain unsaved information when use this option!
 
© 2014 Crystal Rich Ltd. All Rights Reserved