Author Topic: Process Lasso Tip: Another way of reaching of configuration files  (Read 5331 times)

Offline hanemach_gt

  • Volunteer User Moderator
  • Member++
  • *****
  • Posts: 271
  • Gender: Male
You can select an appropriate option from the GUI or execute this batch one-liner to open up both current user and global Process Lasso INIs:

for %A in (HKEY_CURRENT_USER;HKEY_LOCAL_MACHINE) do (for /f "tokens=3*" %B in ('reg query "%A\Software\ProcessLasso" /v "ConfigFile"') do "%B %C")

If you want to save it to a batch file, then you need to preceed percent signs in the above command line like this:

for %%A in (HKEY_CURRENT_USER;HKEY_LOCAL_MACHINE) do (for /f "tokens=3*" %%B in ('reg query "%%A\Software\ProcessLasso" /v "ConfigFile"') do "%%B %%C")

Summing it up, use the first command line if you have run the Command Prompt and have to type the command by hand in the prompt, and use the second one if you want to have a script that would open both the configuration files.

It may be particularly useful if you want to empty some parameters quickly, for instance, to reset the disallowed processes list.

[img width= height=][/img]