What is the syntax for updating a user account's home directory path using the Command Line Interfac (NETIQKB365)

  • 7700365
  • 02-Feb-2007
  • 20-Jun-2007

Resolution

goal
What is the syntax for updating a user account's home directory path using the Command Line Interface?

fact
Directory and Resource Administrator 6.x

fact
Directory and Resource Administrator 7.x

fix
The following syntax for updating a user account's home directory path is based on the Ea.exe command on a Directory and Resource Administrator client workstation. The EA.exe command is located in the directory to which DRA was installed.

To update the Home Directory path for a single user account:

    EA USER UPDATE userid HOMEDIR:\\machine_name\share_name\@target()

To update the Home Directory path for multiple user accounts using input from a text file:

    FOR /F "TOKENS=1-3 DELIMS=," %1 IN (path to text file\) DO EA USER %1 UPDATE HOMEDIR:\\%2\%3\@target()

NOTE:The text file referenced in the syntax above must be in the following format:

    userid, server_name, share_name
    userid, server_name, share_name
    userid, server_name, share_name

 



Additional Information

Formerly known as NETIQKB365