Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Command line arguments

mhtvsSFrpHdE edited this pageJun 11, 2023 ·7 revisions

Command line arguments

*.ini

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

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

>prefetch.exe iexplore.ininew 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

-rocketLaunch

Start prefetch, run startup item, exit.

According tothis research, some use case won't require to keep a background service.

-skipStartup

Do not run startup item.

Internal command ofexpiresc.
No guarantee of permanent support.

-showMainWindow

Show main window no matter howStartToTray is set.

Internal command ofexpiresc.
No guarantee of permanent support.

-scanOnly

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 showfile.open() without read indeed read less MB from disk than scan and read.

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp