Skip to content

Command line arguments

mhtvsSFrpHdE edited this page Jan 20, 2023 · 7 revisions

Command line arguments

*.ini

This argument MUST BE first argument if you plan to use it.

When start, type setting file name after prefetch.exe to load different settings.
If no ini provided, default is prefetch.ini.
All ini should place at same folder with prefetch.exe see details below:

>prefetch.exe iexplore.ini

new QSettings(QCoreApplication::applicationDirPath() + "/" + <your value goes here>, QSettings::IniFormat);

Bad example:

// *.ini is not the first argument
>prefetch.exe -skipStartup iexplore.ini

Good example:

// Skip statup but do not change ini
>prefetch.exe -skipStartup
// Skip statup and change ini
>prefetch.exe iexplore.ini -skipStartup

skipStartup

Do not run startup item. Internal command of expiresc.

showMainWindow

Show main window nomatter how StartToTray is set.

Clone this wiki locally