From dede3e7041a2edc5d3e5244c99ac6838600a1b56 Mon Sep 17 00:00:00 2001 From: Emily Grace Seville Date: Tue, 21 Dec 2021 22:48:58 +1000 Subject: [PATCH] for: refresh page (#7535) --- pages/windows/for.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/windows/for.md b/pages/windows/for.md index 480034512..ba68907d7 100644 --- a/pages/windows/for.md +++ b/pages/windows/for.md @@ -3,22 +3,22 @@ > Conditionally execute a command several times. > More information: . -- Execute the specified commands for the specified set: +- Execute given commands for the specified set: `for %{{variable}} in ({{item_a item_b item_c}}) do ({{echo Loop is executed}})` -- Iterate over range: +- Iterate over a given range of numbers: `for /l %{{variable}} in ({{from}}, {{step}}, {{to}}) do ({{echo Loop is executed}})` -- Iterate over files: +- Iterate over a given list of files: `for %{{variable}} in ({{file_a.ext file_b.ext file_c.ext}}) do ({{echo Loop is executed}})` -- Iterate over directories: +- Iterate over a given list of directories: `for /d %{{variable}} in ({{directory_a/ directory_b/ directory_c/}}) do ({{echo Loop is executed}})` -- Perform a command in every directory: +- Perform a given command in every directory: `for /d %{{variable}} in (*) do (if exist %{{variable}} {{echo Loop is executed}})`