Click here to Skip to main content
15,501,747 members
Home / Discussions / Windows Development
   

Windows Development

 
GeneralRe: Getting the interactive user's display language from a service Pin
Daniel Pfeffer28-Sep-21 10:16
professionalDaniel Pfeffer28-Sep-21 10:16 
QuestionDisplaying a system modal message box in the system format Pin
Daniel Pfeffer4-Aug-21 2:49
professionalDaniel Pfeffer4-Aug-21 2:49 
AnswerRe: Displaying a system modal message box in the system format Pin
Richard MacCutchan4-Aug-21 4:12
mveRichard MacCutchan4-Aug-21 4:12 
GeneralRe: Displaying a system modal message box in the system format Pin
Daniel Pfeffer4-Aug-21 4:30
professionalDaniel Pfeffer4-Aug-21 4:30 
QuestionCheck if .exe-file, WITH A PATH(!!!), is running, from within a bat-file? Pin
arnold_w10-May-21 8:17
Memberarnold_w10-May-21 8:17 
AnswerRe: Check if .exe-file, WITH A PATH(!!!), is running, from within a bat-file? Pin
Victor Nijegorodov10-May-21 10:31
MemberVictor Nijegorodov10-May-21 10:31 
GeneralRe: Check if .exe-file, WITH A PATH(!!!), is running, from within a bat-file? Pin
arnold_w10-May-21 10:56
Memberarnold_w10-May-21 10:56 
AnswerRe: Check if .exe-file, WITH A PATH(!!!), is running, from within a bat-file? Pin
arnold_w11-May-21 23:35
Memberarnold_w11-May-21 23:35 
C++
@echo off

set "workdir=C:\MyProject\bin\release"
set "workdir=%workdir:\=\\%"

setlocal enableDelayedExpansion
for /f "usebackq tokens=* delims=" %%a in (`
    wmic process  where 'CommandLine like "%%!workdir!%%" and not CommandLine like "%%RuntimeBroker%%"'   get CommandLine^,ProcessId  /format:value
`) do (
    for /f "tokens=* delims=" %%G in ("%%a")  do (
        if "%%G" neq "" (
rem            echo %%G
            set "%%G"
rem            echo !ProcessId!
            goto :TheApplicationIsRunning
        )
    )
) 

echo The application is not running
exit /B

:TheApplicationIsRunning
echo The application is running
exit /B

GeneralRe: Check if .exe-file, WITH A PATH(!!!), is running, from within a bat-file? Pin
Victor Nijegorodov11-May-21 23:47
MemberVictor Nijegorodov11-May-21 23:47 
GeneralRe: Check if .exe-file, WITH A PATH(!!!), is running, from within a bat-file? Pin
arnold_w12-May-21 0:18
Memberarnold_w12-May-21 0:18 
GeneralRe: Check if .exe-file, WITH A PATH(!!!), is running, from within a bat-file? Pin
Victor Nijegorodov12-May-21 0:49
MemberVictor Nijegorodov12-May-21 0:49 
GeneralRe: Check if .exe-file, WITH A PATH(!!!), is running, from within a bat-file? Pin
arnold_w12-May-21 1:38
Memberarnold_w12-May-21 1:38 
GeneralRe: Check if .exe-file, WITH A PATH(!!!), is running, from within a bat-file? Pin
Eddy Vluggen21-May-21 12:22
professionalEddy Vluggen21-May-21 12:22 
QuestionNeed Suggestions For Uninstalling Avast Secure Browser Pin
Gregorio Pollich19-Feb-21 3:51
MemberGregorio Pollich19-Feb-21 3:51 
QuestionGDI drawing Pin
David Crow7-Jan-21 11:24
MemberDavid Crow7-Jan-21 11:24 
AnswerRe: GDI drawing Pin
Richard MacCutchan7-Jan-21 22:23
mveRichard MacCutchan7-Jan-21 22:23 
GeneralRe: GDI drawing Pin
David Crow8-Jan-21 3:07
MemberDavid Crow8-Jan-21 3:07 
GeneralRe: GDI drawing Pin
Richard MacCutchan8-Jan-21 3:48
mveRichard MacCutchan8-Jan-21 3:48 
GeneralRe: GDI drawing Pin
Richard MacCutchan8-Jan-21 5:18
mveRichard MacCutchan8-Jan-21 5:18 
QuestionLabview Development Pin
MarcusCole683310-Dec-20 12:18
professionalMarcusCole683310-Dec-20 12:18 
AnswerRe: Labview Development Pin
Pete O'Hanlon11-Dec-20 0:37
mvaPete O'Hanlon11-Dec-20 0:37 
QuestionHelp me! Pin
Member 1492738231-Aug-20 9:33
MemberMember 1492738231-Aug-20 9:33 
AnswerRe: Help me! Pin
Mycroft Holmes31-Aug-20 13:18
professionalMycroft Holmes31-Aug-20 13:18 
AnswerRe: Help me! Pin
RedDk1-Sep-20 9:03
MemberRedDk1-Sep-20 9:03 
QuestionHow to check retrived IP address from DHCP server for conflict ? Pin
Eugene Pustovoyt1-Aug-20 9:01
MemberEugene Pustovoyt1-Aug-20 9:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.