M
Matthieu
Hello,
I want to execute this script line : For /F %i in (list.txt) do net group
"%i" /domain > "%~ni"
the list.txt has lines like this :
"IM & Tech"
"Ina Fac"
"Industrial & Health"
"Industrial-Operation"
"IO-Bulk"
"IPG-P"
"ITM-TEST"
It works properly, but for lines with spaces between the words ( "Ina Fac"),
only the first word becomes %i (Ina) and the "net group %i /domain" comand
doesn't work.
What should I do ?
Thanks
Matthieu
I want to execute this script line : For /F %i in (list.txt) do net group
"%i" /domain > "%~ni"
the list.txt has lines like this :
"IM & Tech"
"Ina Fac"
"Industrial & Health"
"Industrial-Operation"
"IO-Bulk"
"IPG-P"
"ITM-TEST"
It works properly, but for lines with spaces between the words ( "Ina Fac"),
only the first word becomes %i (Ina) and the "net group %i /domain" comand
doesn't work.
What should I do ?
Thanks
Matthieu