Change Windows Folder Permissions using %username% variable

The problem I was looking to fix was changing a shared user folder permissions for multiple folders using a %username% variable. I use this variable a lot especially with logon folders (Example: net use U: server1\shared\users’\%username%, which automatically gives say user Tim access to just Tim’s folder, users\Tim)