OSCapture Command-Line Overrides (Windows Embedded CE 6.0)
1/5/2010
You can use command-line parameters to override the registry values and program defaults set for OSCapture.exe.
The following table shows command-line parameters to control OSCapture.exe behavior.
Command-line parameter | Registry argument overridden | Example |
---|---|---|
|
BufferSize |
|
|
FileFlags |
|
|
FileSize |
|
|
FileName |
|
|
ThreadPriority |
|
|
FlushTimeout |
|
|
Transport |
|
|
UseUI |
|
|
ZoneCE |
|
You may find it useful to make a shortcut file that launches OSCapture using your selected command-line options. For an example, see Collecting Data on a Standalone Device with OSCapture.
If you are using the standard Windows Embedded CE shell, and you set the IMGOSCAPTURE environment variable to include OSCapture.exe in your image, a file called OSCapture. lnk will also be included in your image. This file will appear as a shortcut called "Capture Recent Activity" on the desktop. The file has these contents:
25#\Windows\OSCapture.exe -c
When you click on that file, it will trigger a running instance of OSCapture.exe to copy the most recent data from its buffer into a log file.