I'm running Dumpcap on a machine at user login, but I would like for it to be hidden. Right now I'm able to get it running and logging like I need it to, however it pops up a window that the user can see (Capturing on 'Interface Name' | File: x:\path\name.pcapng), and if they close that window the capture stops. I would like to hide the window so that they cannot close it. asked 30 Mar '16, 08:22 ZekeTheSquirrel |
One Answer:
Have a look over at http://superuser.com/questions/140047/how-to-run-a-batch-file-without-launching-a-command-window Basically, create 2 files: 1)
(The top answer also works but this one was shorter/simpler. I did not test every solution provided.) 2) The answered 30 Mar '16, 10:43 cmaynard ♦♦ |
Thank you! I'd seen this before but I could not get it to work. I realized my problem was that the bat file was using start "...\dumpcap.exe", which still opened a new window.