|Can you find a rule from your list?|
Sorry what do you mean?
(The amount of spaces in the processes names will most likely be 0 but often enough you will have more and sadly I need to work around that) My next idea is using something like :~30% to get the first 30 characters since the name cannot be over 30 character long and the column is always that wide
Okay I got it fixed. For anyone else reading this here is the final script (To other forum member please be kind enough to also post your finished scripts to help others)
for /F "skip=1 delims=" %%A in ('tasklist /NH') do call :OUTSIDE %%A
echo List built and String Phrased
ECHO %* Debug message
ECHO %LINE:~0,30% >> phrased_output.txt