Jump to content

Caml Light

Member
  • Posts

    85
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Italy

Everything posted by Caml Light

  1. Yzöwl your batch works perfectly! This time i only need to modifying it to save as text all processes, so i've delete this: /FI "STATUS eq RUNNING" @ECHO OFF >processes.log TYPE NUL FOR /F "DELIMS=," %%# IN ('TASKLIST /FO "CSV" /NH') DO ( >>processes.log ECHO=%%~#) The problem now is that there are many duplicates, for ex. svchost.exe or csrss.exe are reported many times in the text file. Should you have an idea to list all processes one time only?
  2. I've Win7 SP1 x64 and tasklist looks like from you...
  3. thank you but the processes.txt file only contains this: ECHO active. ECHO active. ECHO active. ECHO active. ECHO active. ...
  4. Hi guys, with tasklist command i need to save as txt all running processes, so i've created a batch file with: TASKLIST > processes.txt At this point i would need to save as txt only the image names, without PID, session name and so on... simply a txt file in this format: csrss.exe svchost.exe taskmgr.exe wininit.exe winlogon.exe ... Is it possible to do it for you? Thank you in advance. Cheers
×
×
  • Create New...