cmaloney | Morning | 14:03 |
---|---|---|
_stink_ | yo | 14:24 |
rick_h_ | morn | 14:27 |
shakes808 | Afternoon everyone. Anyone know Batch scripting? I have been trying to create a batch script and can't seem to get it right. Right now I am just trying to iterate through a list. :( | 17:38 |
jrwren | batch scripting is a general term. | 17:39 |
jrwren | do you mean dos/windows .bat files? | 17:39 |
shakes808 | .bat files, correct | 17:39 |
shakes808 | I am trying to do a simple for loop at the moment, but failing | 17:39 |
shakes808 | :( | 17:39 |
jrwren | ugh, i recall their for syntax being totally weird. | 17:39 |
shakes808 | The list I am trying to iterate through is a list of strings. I have tried the following: set list = (string1 string2) set list = ("string1" " | 17:41 |
shakes808 | set list = ("string1" "string2) | 17:41 |
shakes808 | ..."string2" | 17:41 |
shakes808 | set list = ("string1 string2") | 17:41 |
shakes808 | and when I look at the console window, it just says that incorrect syntax. | 17:42 |
shakes808 | for %%i in (%list%) | 17:42 |
jrwren | try #windows or #c#, even though it isn't C# :) | 17:43 |
shakes808 | alright, I will try there | 17:44 |
cmaloney | Rainy outside | 23:12 |
rick_h_ | doh | 23:18 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!