Laur's blog
  • Home
  • About
  • Support my work
Sign in Subscribe

for

A collection of 1 post
BAT Files: Execute Multiple Commands in a Loop
bat

BAT Files: Execute Multiple Commands in a Loop

One of the tasks the other day was to load a large DB organised by year. The most efficient way was to loop through a sequence of years and execute the loader for each one. The first iteration I ended with was: FOR /L %%Y IN (1996,1,2008) DO
Oct 3, 2014 1 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost