I'm a little new to scripting and would like help renaming a folder in every users directory. I would like to accomplish the below but it sounds like I would have to use a FOR loop to go through every user profile. Does someone have an example of how to accomplish this or maybe another method?
ren "C:\Users\%userprofile%\AppData\TEST" "C:\Users\%userprofile%\AppData\TEST1"