04-04-2010 01:37 PM
Solved! Go to Solution.
04-04-2010 09:01 PM - edited 04-04-2010 09:04 PM
You can try to guess the name by using this solution:
I'm using a tool from the Sysinternals suite: PsTools -> PsList
Batchfile:
echo off
PsList SeqEdit
if errorlevel 1 goto error
echo ---------- SeqEdit found -----------
goto end
:error
echo ----------- not found --------------
:end
pause
Or the "PsList" can also be used as a "Call Executable" step.
04-05-2010 08:05 AM
Thanks Martin for your suggestion.
It's not exactly what I was looking for, because I didn't want to create a new (extra) file (batch or dll,..) .
But it helped me to re-think my problem and of course...
In our process model, we create an instance of a (.NET) custom dll, so, .NET has a Process class and the GetCurrentProcess() method returns the name of the current (exe) application...
Thanks.