I have this script that someone helped me write a few years ago. I want to get a better understanding of what each of these functions does. I know most of it but the (Tokens, calcs and delims) I do not.
What this does is makes a folder shared that is read off of a txt file. In addition to these lines I also want to know how do I remove the inhariting properties from the folder via a script?
FOR /F "tokens=1,2,3,4* delims=, " %%i IN (e:\russ\user.txt) do net share /y %%i$=e:\users\%%i
FOR /F "tokens=1,2,3,4* delims=, " %%i IN (e:\russ\user.txt) do cacls e:\users\%%i /t /c /e /g %%i:f
Start Free Trial