|To avoid any complexity I suggest the following structure for the script:|
First set up your list file by typing one domain per line, e.g.
Then code the batch as belowe
for /F "delims=" %%j in (List.txt) do call :EXEC %%j
HERE YOUR SCRIPT referring the domain from List.txt as %*
This is the simplest way I can figure out for your job. About the %* it takes into account spaces in domain name, e.g.
copy "%*" D:\BKUPFile
Don't miss double quotes around the %* and don't declare :EOF as that is the standard return point in batch.