Command Line variable help
Hello,i am using this cmd bat file to create a folder for users and give a permissions on it.
SET /A variable=expression
SET /P variable=[promptString]
CACLS D:\User_Folders\%variable% /E /T /C /G "%variable%":F
Variable is user name,
Problem i have,it only gives me to create 1 user same time.
so every time i have to manually enter new user names,
If anyone knows if i can create a txt file with user names and this bat can read them them from it?
And pass all to variable line one after another.
Thank you very much.
Последний раз редактировалось koolance; 23.05.2008 в 12:03..