Skip to content
Tool to view Command prompt files that are running (hidden or not) by their titles and get the PIDS
Batchfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CMDS function (for inside file).bat
CMDS.bat
README.md

README.md

CMDS

Tool to view Command prompt files that are running (hidden or not) by their titles and get the PIDS works in color works with batch files

HELP FILE:

Help Screenshot

Pure text of help file:


CMDS [/S] [/P] [/L] [/W] [/TS "String"]

 /S         Displays the simple but high information version (fast)
 /P         Pauses Before Exiting. Usefull if using from Run.
 /L         Pauses and refreshes on press of key. Use CTRL+C to quit.
 /W         Refreshes only when a new cmd instance starts (new PID).
            Note: This will not refresh if an old window closes
                  and a new one opens at the same time.
 /TS        Use within a batch file to search for a Window Title
 String     The Window Title to search for with /TS


 with /TS the errorlevel will be set to 1 if the title was not found.
 If it is found, the errorlevel will be set to the PID of the cmd instance.

Press any key to continue . . .

Example:

   CMDS /TS "My Window"

    The Above Command Will set the errorlevel to the PID of the cmd instance
    with the title "My Window" (set with the title command). If the instance
    is not found (there is no running window) the errorlevel will be 1.
    if the Syntax was incorrect, errorlevel will be set to 2.


 Created by Lucas Elliott with IT Command  www.ITCommand.tech
You can’t perform that action at this time.