Jul
15
awarded Popular Question
May
12
accepted How to add line numbers to a text file from a batch file (Windows)
May
12
asked How to include a line of a text file in a batch command?
May
12
comment How to refer to random numbers in batch files (%random%)
@Heath Hunnicutt Thanks, as my full script was a little more complicated, I weeded out the problem, the copy command was not set to %filename% as well! Thanks for your help, I appreciate it :)
May
12
accepted How to refer to random numbers in batch files (%random%)
May
12
comment How to refer to random numbers in batch files (%random%)
nope still not working, very confused
May
12
comment How to refer to random numbers in batch files (%random%)
sorry didnt see above, checking now trhanks
May
12
comment How to refer to random numbers in batch files (%random%)
@Heath Hunnicutt Can you provide a snippet if yours is working please?
May
12
comment How to refer to random numbers in batch files (%random%)
File not found.., as it looks like when executing the find statement, it calls the %x%, but generates the number again!
May
12
comment How to refer to random numbers in batch files (%random%)
I am using a cmd file, but just tried renaming to bad and the same occurs
May
12
comment How to refer to random numbers in batch files (%random%)
It generates a different number when using it with the find command
May
12
awarded Commentator
May
12
comment How to refer to random numbers in batch files (%random%)
find /n /v "" < %x%
May
12
comment How to refer to random numbers in batch files (%random%)
set x=sec_alert%random%%random%%random%.lst
May
12
comment How to refer to random numbers in batch files (%random%)
@Heath Hunnicutt. Hi this does not seem to work in my script:
May
12
asked How to refer to random numbers in batch files (%random%)
May
12
comment How to add line numbers to a text file from a batch file (Windows)
@Mark Wilkins yes that's correct
May
12
comment How to add line numbers to a text file from a batch file (Windows)
Sorry, i meant for an external file
May
12
awarded Student
May
12
asked How to add line numbers to a text file from a batch file (Windows)
1 2