Search found 5 matches

by duonga
01 Dec 2018 22:18
Forum: DOS Batch Forum
Topic: Get help on file
Replies: 7
Views: 6205

Re: Get help on file

No, not a random script in txt file exeLines, but a reply to your initial question.
[/quote]
You can add conditions if the empty exeLines.txt file copies the data from the input.txt file
by duonga
01 Dec 2018 20:27
Forum: DOS Batch Forum
Topic: Get help on file
Replies: 7
Views: 6205

Re: Get help on file

thank you .i have got confusion about copy file about. it works very well
by duonga
01 Dec 2018 02:31
Forum: DOS Batch Forum
Topic: Get help on file
Replies: 7
Views: 6205

Re: Get help on file

@echo off &setlocal enableDelayedExpansion set "$fileIn=exeLines.txt" set "$fileTMP=exeLines.tmp" :: :loop () :: ( < "!$fileIn!" ( set "$=" &set /P "$=" &if defined $ ( echo.start '!$!' rem start "" /WAIT "!$!" ) ) copy/V/Y/B "!$fileIn!" "!$fileTMP!" >nul < "!$fileTMP!" >"!$fileIn!" ( more +1 ) del...
by duonga
30 Nov 2018 05:19
Forum: DOS Batch Forum
Topic: Get help on file
Replies: 7
Views: 6205

Re: Get help on file

My idea as well as random scrip just now is that I want to run the lines in the txt file and every time I run it, I delete the line that was running. @Echo Off For /F "tokens=2 delims=:" %%j in ('Find /C /V "" random.txt') Do ( Set MOD=%%j ) Set MOD=%MOD:~1% :LOOP Set N=%random% If %N% gtr 132 Set N...
by duonga
29 Nov 2018 09:35
Forum: DOS Batch Forum
Topic: Get help on file
Replies: 7
Views: 6205

Get help on file

Hi everybody,
Hi everybody
I have a txt file to run various exe files
1.exe
2.exe
3.exe
Which script I can run from the beginning to the end of the file and when finished running a file, then remove from the file is always txt
Please help everyone