Created
July 5, 2013 12:39
-
-
Save dash17291/5934267 to your computer and use it in GitHub Desktop.
Nested for loop example. http://hup.hu/node/125384?comments_per_page=9999#comment-1619486
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
setlocal EnableDelayedExpansion | |
for %%u in (a b c) do ( | |
set USER=%%u | |
for /f "usebackq tokens=2 delims=/" %%p in (`find /i "Path" "Users\!USER!\AppData\Roaming\Mozilla\Firefox\profiles.ini"`) do ( | |
set PROFILE=%%p | |
echo "profile: !PROFILE!" | |
) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment