email:
password:

Register
Forum Stats
Total Threads:
4104

Total Posts:
10050

Top Posters
Michael 2304
Dylan 1805
onemiamibum 710
JennyJM 645
nicole 484
Francisco 301
m1nr 262
Marty 256
dav 199
kyle 176
Fla 155
ultron 146
henryjoebob 142
Xandy 133
manic 127
Jess 124
Sarah 123
Cindy 123
Adam 106
Jessica 104
Random Faqqing
What does Beta mean and how long will idiotechnica.com be in it?
Beta is a fancy schmancy technical term that means: We do not want to take any responsibility for the quality of our software at this time. Idiotechnica will always be in beta.
firefox_logo
idiotechnica.com uses CSS3 and is optimized for viewing in Firefox versions 3+

Posts: General / .bat file help!

share this thread on facebook

Dylan Post Author Photo: Dylan
.bat file help!
06/14/11 11:01 AM

Does anyone code bat files here? 



I'm trying to make a simple .bat file that will call a program for every file in a given directory, but I'm not sure how to do this.



From googling, I found an example of printing a bunch of files; the code they used is:



for %%x in (*.txt *.bat) do start /w /m notepad.exe /p "%%x"


I'm not sure what the "%%x" parameter refers to though. Help!
Offline
Post ID: 9433

Dylan Post Author Photo: Dylan
06/14/11 06:05 PM

Never mind, I "figured it out".  



WTF @ this language. 
Offline
Post ID: 9435