dos command to see which process is occupied port

2010-10-20  来源:本站原创  分类:OS  人气:212 

In the windows command line window run:
C: \> netstat-aon | findstr "21"

Port number for 3008 is the process of the process of occupation, to continue to execute the following command:

C: \> tasklist | findstr "3008"
Thunder5.exe 3008 Console 0 29,384 K

Thunder occupation of the port

Kill the process
C: \> taskkill / PID 3008 / F (where, F parameter is mandatory to close.)

Note: Sometimes prompts Note: sometimes an error: Can not find the process "****", re-enter the tasklist command, get the latest PID value

dos delete directory and all files in the directory command:
rd / s path

View directory of the file command:
dir / a

windows Shutdown: shutdown-s-f-t 3600
-S: Shutdown
-F: force close the application
-T: shutdown countdown (in seconds)

相关文章
  • dos command to see which process is occupied port 2010-10-20

    In the windows command line window run: C: \> netstat-aon | findstr "21" Port number for 3008 is the process of the process of occupation, to continue to execute the following command: C: \> tasklist | findstr "3008" Thunder5.exe

  • DOS command to see the process of memory 2010-03-17

    1. Wmic + process In the "Start -> Run", type wmic command, and then will pop up a window similar to the DOS interface, the command prompt as "wmic: root \ cli>". In the command prompt, enter the process command, you will see the

  • dos command to see what processes are to Port 2010-10-20

    In the windows command line window run: C: \> netstat-aon | findstr "21" Port is the process with process ID 3008 occupation, to continue to execute the following command: C: \> tasklist | findstr "3008" Thunder5.exe 3008 Console

  • [Reproduced] in a Linux environment to run DOS command 2011-06-13

    Linux commands in a DOS command to run under Linux Linux system provides a set known as the mtools the portable tool that allows users to easily from the standard DOS floppy disk read and write files and directories. Their DOS and Linux environments

  • Dos command to master 8 2010-04-14

    (Transfer from: http://bbs.cz88.net/t413693p1p1) 1, ping It is used to check whether the network or Internet connection speed smooth order. As a life on the network administrator or hacker is, ping command is the first to grasp the DOS command, using

  • DOS command Daquan (Classic Collection) 2010-06-07

    net use \ \ ip \ ipc $ "" / user: "" the establishment of air links IPC net use \ \ ip \ ipc $ "password" / user: "User name" non-establishment of air links IPC net use h: \ \ ip \ c $ "password" / user: &

  • 8 Dos command Xiangjie 2010-06-21

    1, ping It is used to check whether the network or Internet connection speed smooth order. As a living network administrator or hacker is, ping command is the first to grasp the DOS command, it used the principle is this: has the only machine on the

  • DOS command Daquan (Reprinted) 2010-06-24

    # 1 1: net use \ \ ip \ ipc $ "" / user: "" the establishment of air links IPC net use \ \ ip \ ipc $ "password" / user: "User name" non-establishment of air links IPC net use h: \ \ ip \ c $ "password" /

  • DOS Command Remote Desktop Connection 2010-07-27

    DOS Remote Desktop Connection command mstsc / v: 192.168.1.250 / console cmd run command Delete file file name rd / S MD file name to create file 1. Net user admin godmour / add a new user name admin password for the default user group members godmou

  • DOS command to collect 2010-10-29

    Common DOS commands in fact, now do not need to learn DOS, unless you want to install their own machines. Here we introduce some of the most commonly used DOS commands it! After starting the machine with the DOS, we can enter DOS commands. Method of

  • Must master the eight DOS command! 2010-11-09

    A ,ping It is used to check whether the network or the network connection speed smooth order. As a living on the network administrator or hackers ,ping Command is the first DOS command must master , The principle that it is this use of : Machines on

  • windows DOS command Daquan 2010-11-25

    Keywords: windows DOS command Daquan gpedit.msc----- Group Policy sndrec32 ------- recorder Nslookup ------- IP address of the detector e xplorer ------- open Explorer logoff --------- cancellation of orders tsshutdn ------- 60 second countdown shutd

  • DOS command Collection 2010-10-22

    #1 A : net use \\ip\ipc$ " " /user:" " The establishment of air links IPC net use \\ip\ipc$ " Password " /user:" User name "to establish IPC Non-empty link net use h: \\ip\c$ " Password " /user:" User

  • The most complete history of local area network dos command set, with a system external command parameters 2011-02-26

    The most complete history of local area network dos command set, there is a need to look at the next! net use \ \ ip \ ipc $ "" / user: "" the establishment of air links IPC net use \ \ ip \ ipc $ "password" / user: "use

  • Hacker essential DOS command Daquan 2011-02-22

    net use \ \ ip \ ipc $ "" / user: "" the establishment of air links IPC net use \ \ ip \ ipc $ "password" / user: "username" to establish links to non-empty IPC net use h: \ \ ip \ c $ "password" / user: &

  • dos command (reproduced) 2011-03-05

    dos command index under a variety of common dos commands A, DIR command format: dir [D:] [PATH] [NAME] [[/ A] [: attrib]] [/ o: [sorted] [/ s] [/ b] [/ l] [/ c [h] (1) dir / a: attrib default contains all files (system files hidden files) attrib [:]

  • windows dos command used 2011-03-07

    net use \ \ ip \ ipc $ "" / user: "" the establishment of air links IPC net use \ \ ip \ ipc $ "password" / user: "username" to establish links to non-empty IPC net use h: \ \ ip \ c $ "password" / user: &

  • The use of Java called a DOS command summary 2011-07-06

    CMS in the past two days to change a problem, need to file copy, but the direct use of pure java, then the existence of the file stream to read and write, write file if the stream in the process of writing the file was accessed, then At this point th

  • (R) DOS command / port 2011-06-10

    DOS command / port (A) MD - creates a subdirectory 1. Function: create a new subdirectory 2. Type: Internal command 3. Format: MD [drive:] [pathname] <directory name> 4. Instructions for use: (1) "letter": Specifies the subdirectory to cre

  • Where part of the DOS command 2010-03-29

    In the DOS command inside the 1, set C: \> set (shown Windows where all the settings) C: \> path =% system% C: \> path PATH =% system% 2, how to access the specified file C: \> cd Dev-Cpp C: \ Dev-Cpp> start. C: \ Dev-Cpp> News.txt C: \