Need "Command Prompt" commands for ..

Status
Not open for further replies.

alib_i

Cyborg Agent
I need to do two things without the use of any third-party software -

1. To find out the location of the .exe file for any running process.
(ex. say I have spoolsv.exe running, I want to find out which folder is spoolsv.exe located)

2. To disconnect an established network (TCP/IP) connection
(ex. "netstat -n" says that I'm connected to 10.11.12.13:8080. I want to be able to cut this particular TCP/IP connection)

I know I can do this using ProcessXP and PsTools and TCPView and million other softwares. But that's not an option for me.

Actually I keep shifting between terminals a lot, all of which are shared. I want some commands/procedure to be able to do these things using only in-built windows commands/utilities.

Using 3rd party programs from USB is also not an option.

Can anyone suggest any trick ?
 
Status
Not open for further replies.
Top Bottom