OSCapture Command-Line Overrides (Windows CE 5.0)

Send Feedback

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
-bufsize
BufferSize
-buf 0x100000
-c 
none
-c 
-nfilename
FileName
-n \Release\celog.clg
-pripriority
ThreadPriority
-pri 248
-save count
SavedFlushes
-save 15 
-time timeout
FlushTimeout
-time 10000
-transtransport
Transport
-trans LocalFile
-ui0 or 1
UseUI
-ui 1
-zhex zones
ZoneCE
-z 0x000043E3

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 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.

See Also

OSCapture Registry Settings

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.