Share via


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

-buf size

BufferSize

-buf 0x100000

-flags hexflags

FileFlags

-flags 0x00000001

-filesize hex size

FileSize

-filesize 0x00020000

-n filename

FileName

-n \Release\celog.clg

-pri priority

ThreadPriority

-pri 248

-time timeout

FlushTimeout

-time 10000

-trans transport

Transport

-trans LocalFile

-ui <0 or 1>

UseUI

-ui 1

-z hexzones

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

See Also

Reference

OSCapture Registry Settings

Other Resources

OSCapture.exe