Usage: Netcap.exe [/B:Number] [/T Type Buffer HexOffset HexPattern ] [/F:Filter file.cf] [/C:Capture file] [/N:Number] [/L:HH:MM:SS] [/TCF:Folder name] Example: NetCap /B:20 /N:2 /T BP 100 0a ff1f /F:d:\IPFilter.CF /B:Number Specifies the buffer size in megabytes (MB). Number may be a value from 1 to 1000. The default size is 1 MB. /T Specifies the use of a trigger to determine when to stop capturing. If the trigger is omitted, the Netcap.exe utility captures data until the buffer is full and then stops. The "/T /N" option captures until the spacebar is pressed. This option uses the buffer as a queue. If the buffer becomes full, the utility overwrites the oldest entries. Note: If you use the "/T /N" option, press the spacebar to stop capturing. Type B = buffer, P = pattern, BP = buffer then pattern, PB = pattern then buffer, N = no trigger Buffer Percent buffer size ('25', '50', '75', '100') is used together with B, BP, or PB (not P). HexOffset Hexadecimal offset from start of frame is used together with P, BP, or PB (not B). HexPattern Hexadecimal pattern to match is used together with P, BP, or PB (not B). The pattern must be an even number of hexadecimal digits. /C:Capture file Move temporary capture to a full path or to a file name. This entry can be any valid local or remote path. If the "/C" option is not specified, the capture file remains in the default temporary capture folder. /F:Filter file.cf A Network Monitor 2.x-generated capture filter (*.cf). /L:HH:MM:SS Capture for set time. (The maximum time = 99:99:99.) Note: This option overrides the default 100 percent trigger unless the "/T trigger type " option is also specified. /TCF:Folder name Permanently changes the temporary capture folder. Warning: The path must be on a fixed local hard disk drive. As soon as the path is set, you only have to use the switch again to change the directory. /Remove Removes the Netcap.exe instance of the Network Monitor driver. /N:Number Network adapter index number for this computer.
Use the following index numbers for these adapters: (default) 0 = ETHERNET (2C3D20524153) WAN (PPP/SLIP) Interface 1 = ETHERNET (000039139635) Local Area Connection 2 2 = ETHERNET (0000390E118E) Local Area Connection
Microsoft Windows Server 2003 Enterprise Edition, Microsoft Windows Server 2003 Standard Edition, Microsoft Windows Server 2003 Web Edition, Microsoft Windows Server 2003, Enterprise Edition for Itanium-based Systems, Microsoft Windows Server 2003, Standard x64 Edition, Microsoft Windows Server 2003, Enterprise x64 Edition, Microsoft Windows XP Professional Edition, Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition