Recent

Author Topic: Enviroment Path for search deep inside of application.exe  (Read 197 times)

d2010

  • Sr. Member
  • ****
  • Posts: 253
Enviroment Path for search deep inside of application.exe
« on: February 02, 2026, 10:31:54 pm »
Hello
I have the source Batch or *.cmd
Code: [Select]
ECHO.
ECHO --------------------------------[ Installing ]---------------------------------
start "" TaskList.exe /nh | FindStr /l /i "moviemk.exe" >NUL 2>&1 || GoTo ILIE2025LACATUSU
ECHO.
ECHO Terminating Windows Movie Maker processes . . .
TaskKill /f /im "moviemk.exe" >NUL 2>&1
ping -n 3 localhost 1>NUL

:ILIE2025LACATUSU
ECHO FAIL=this script search moviemk.exe  inside memory-of-taskmgr.exe
Echo If Yes , the "moviemk.exe" is running , automat then kill the process-of MovieMk.exe
Echo If No, the goto outside of script.
I got  transform  his code onto Pascal, but i got  this ask C:Q1 , i need answer

C:Q1=How to search tasklist.exe iterator all path-recusrvely and how to got
C:\Windows\system32\tasklist.exe from  %Path%Enviroment ?
 :(
I need  the answer, because I have to few Win10live32x.Iso, BartPe10Live.iso,Win-10-Live-x64.ISO. Win98LiveCD36.iso , WindowsFx10.iso. and some file*iso have tasklist.exe  Or other file*.iso do not have tasklist.exe.
 :-\So.. i must search manually (by  Pascal.fpc) , search tasklist.exe in
all-paths==%Path%Enviroment+GetCurrentDir()+ExtractFilepath(paramstr(0)).
  • a)MyDefinition..%Path%Enviroment is equal
    Path=C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\
    b)You type "set >>arsenieboca.txt" after cmd.exe
    c)You notepad arsenieboca.txt
d)You search findCTrl+F the words "Path=C:\ProgramData" isinside ..
« Last Edit: February 02, 2026, 10:50:49 pm by d2010 »

jamie

  • Hero Member
  • *****
  • Posts: 7517
Re: Enviroment Path for search deep inside of application.exe
« Reply #1 on: February 02, 2026, 11:19:14 pm »
If the ISO is compressed you may have a hard time finding much of anything.

In any case, the IDE has a "Search in Files" for a pattern.

Jamie
 
The only true wisdom is knowing you know nothing

 

TinyPortal © 2005-2018