I was browsing many threads like this but I didnt found any specific that would help, so this is my problem I have this :
echo START %USERNAME% > exec3.txt & dir c: /B /S | find ".exe" >> exec3.txt & echo STOP %username% >> exec3.txt
And I need output in this
exec.txt file that username and .exe path are on same line not above and under.
I am still novice in this so please if you can help me thank you.
Edit: Ok so what I currently get from this code is this:
START remak C:\05b7ba810261bb83a30acb4b8289\Setup.exe C:\05b7ba810261bb83a30acb4b8289\SetupUtility.exe C:\0f669298b95e17eb4420fab939d6058e\Setup.exe C:\0f669298b95e17eb4420fab939d6058e\SetupUtility.exe C:\5179a24a27196222747e\Setup.exe C:\5179a24a27196222747e\SetupUtility.exe C:\611f293b57db179b197d\Setup.exe C:\611f293b57db179b197d\SetupUtility.exe C:\doublecmd\doublecmd.exe STOP REMAK
Remak is username, and I need that REMAK will be on same line as path like this: