-
Notifications
You must be signed in to change notification settings - Fork 4
Command line arguments
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);
Good example:
// Skip statup but do not change ini
>prefetch.exe -skipStartup
// Skip statup and change ini
>prefetch.exe iexplore.ini -skipStartup
Bad example:
// *.ini is not the first argument
>prefetch.exe -skipStartup iexplore.ini
// *.ini is not place at same folder with prefetch.exe
// Or called try to use path instead of file name
>prefetch.exe C:\OtherFolder\iexplore.ini
>prefetch.exe ..\OtherFolder\iexplore.ini
Start prefetch, run startup item, exit.
According to this research, some use case won't require to keep a background service.
Do not run startup item.
Internal command of expiresc.
No guarantee of permanent support.
Show main window no matter how StartToTray is set.
Internal command of expiresc.
No guarantee of permanent support.
While debug and optimize scan results, it's not necessary to actually read files.
When -scanOnly
, skip read but run regex only.
Notice that -scanOnly
still try to open the file,
so you can know if a file is not accessible.
A simple test show file.open()
without read indeed read less MB from disk than scan and read.