You are not logged in.

#1 18 May 2020 15:57

npocmaka
Member
From: Bulgaria
Registered: 03 Dec 2009
Posts: 446

pktmon and exit

1.pktmon looks like an useful tool:

https://www.bleepingcomputer.com/news/m … ow-to-use/


2.exit -1073741510 can be used to 'emulate' ctrl+c - https://www.dostips.com/forum/viewtopic.php?t=5859 and to exit from a script at any level of a call command.

Offline

#2 21 May 2020 22:10

Simon Sheppard
Admin
Registered: 27 Aug 2005
Posts: 1,130
Website

Re: pktmon and exit

Thanks npocmaka

updated:
https://ss64.com/nt/pktmon.html
https://ss64.com/nt/exit.html

In PowerShell, you can do the complete opposite - capture Ctrl-C and use it for a graceful cleanup of running jobs: https://docs.microsoft.com/en-gb/archiv … ver-ctrl-c

Offline

Board footer

Powered by