Home
PE Corrector Online Help
Overview
Introduction
Localizations
System requirements
Limitations of the unregistered version
Registration
Technical support
Where to get the latest version
Quick tour
Example of the PE file correction
Using PE Corrector
Standard mode
Options
Text
Exports
PE Info
Wizard
File selection
Options selection
Entering text
Exports
Summary
Console mode
General Information
Configuration file
Command line format
Examples
Postprocessing report
Copyrights
License
Contacts
Acknowledgements

Command line format

You can use command line parameters in any order in command line.

Command line parameters

/ch[=1| =0] - Clear Header
Examples:
/ch - cleaning is on
/ch=1 - cleaning is on
/ch=0 - cleaning is off

/cn[=1| =0] - Clear Section Names
Examples:
/cn - cleaning is on
/cn=1 - cleaning is on
/cn=0 - cleaning is off

/sr[=1 | =0] - Strip Relocations
Examples:
/sr - stripping is on
/sr=1 - stripping is on
/sr=0 - stripping is off

/oo[=1 | =0] - Overwrite Original File
Examples:
/oo - original file will be overwritten
/oo=1 - original file will be overwritten
/oo=0 - original file will not be overwritten

/sm[=1 | =0] - Silent Mode
Examples:
/sm - don't show report window
/sm=1 - don't show report window
/sm=0 - show report window

/sl[=1 | =0] - Save Report To Log (Extension *.pel)
Examples:
/sl - don't show report window
/sl=1 - don't show report window
/sl=0 - show report window

/hc=<number of bytes> - Set Header Capacity
Examples:
/hc=0 - set minimal header capacity
/hc=1024 - set header size to 1024 bytes

/cf="<path to configuration file>" - Set Configuration File Name
Examples:
/cf="file.pec" - usage of the configuration file in current directory
/cf="c:\program files\file.pec" - usage of the configuration file in specified directory

/tx="<Text>" - Set Text To Insert
Examples:
/tx="Copyright (c) 2002" - this text will be inserted into header

/ef="<Func1;Func2;Func3...>" - Set Functions To Erase
Examples:
/ef="__cppdebughook" - __cppdebughook will be removed from export section
/ef="__cppdebughook;_Form1" - __cppdebughook and _Form1 will be removed from export section
/ef=%All% - all functions will be removed from export section

/sf="<path to file for correction> - Set File For Correction
Examples:
/cf="file.exe" - usage of the file in current directory
/cf="c:\program files\file.exe" - usage of the file in specified directory
/cf="c:\program files\*.exe" - correct all files with *.exe extension (? and * are supported)

Examples

See examples chapter for details.

Created by chm2web html help conversion utility.