-
Notifications
You must be signed in to change notification settings - Fork 0
User Guide
CHCl3 is available as a collection of CMD/Batch script, VBScript
and Powershell script. They are functionally identical, and use the same set of
data files in the data
folder. Running any one of them would suffice,
depending on your environment constraints and preference.
All of them require running in administrator mode to make the necessary system changes.
Using CHCl3 as a CMD/Batch script is the easiest as it has no pre-requisite software component.
Method 1: Use Command Prompt
- Run a Command Prompt as an Administrator.
chcl3.cmd
Method 2: Run from Explorer
- Right-click on
chcl3.cmd
> Run as administrator.
Note
The window closes as soon as it finishes, so there is no time to review the output for any errors encountered.
CHCl3 is available as a VBScript. This requires the Microsoft Windows Script Host (WSH), which comes pre-installed in Windows 7.
Method 1: Use WScript.exe
- Run a Command Prompt as an Administrator.
wscript chcl3.vbs
Method 1: Use CScript.exe
- Run a Command Prompt as an Administrator.
cscript chcl3.vbs
Note
The difference is when using WScript, popup dialog boxes are shown for output messages, while for CScript, they are printed in the console as text.
Lastly, CHCl3 is available as a Powershell script.
This requires Windows Powershell 5.0 at the minimum. Windows 7 comes with Powershell 2.0 by default, so we need to install the following software updates:
Then run Powershell as administrator:
- Click Start > Accessories > Windows Powershell
- Right-click Windows Powershell > Run as administrator
- Type
$PSVersionTable
and press Enter to verify Powershell version - Check
PSVersion
has value of 5.x.xxxxx.xxxx and above - Type
Set-Execution-Policy -Execution-Policy Unrestricted
and press Enter - Type
Y
orA
to allow running of Powershell scripts - Type
.\chcl3.ps1
and press Enter
Copyright (c) 2024 gyk4j. All Rights Reserved.