If you are using this very useful tool to change users home directory paths in AD and you need to input the path according to the user name, you may find that the regular %username% does not work with ADModify. The username value that the program does understand is:
%’sAMAccountName’%
For example a users home drive may be set using the following syntax:
\\server\homedriveshare\%’sAMAccountName’%
Hope this helps.
Paul