This program will move all the users' mailboxes from their current
location to the path specified in the new account defaults. Please
backup your \MDaemon\Users directory before proceeding.
DIRREORG [/Q] [/T] [/F]
/Q Quiet - display only errors.
Use
this command line option if you want the program to only display error
messages and not other logging. For example, it will display the
message, 'Error moving MailDir ...'. (ie. DirReorg /Q )
/T
Test - output changes without actually making changes. Use this command
line option if you want the program to only log the changes, but not
actually move the mailboxes or make any changes to the UserList.dat
file. (ie. DirReorg /T )
/F Force - changes
the MailDir in UserList.dat. Use this command line option if you just
want to change the mailbox directory in the UserList.dat. This
option will not move the mailbox directory. (ie. DirReorg /F )
If
you execute the program without the Force[/F] and the Test[/T] options,
it will attempt to move the old mailbox directory to the new mailbox
directory. The new mailbox directory is specified in the new account
defaults setting in MDaemon(Accounts | Account Manager | New account
defaults | Account Defaults | Mail Directory). If moving the directory
fails, changes will not be made to the UserList.dat. If moving the
directory was successful, the old mailbox directory will be moved to the
new location, the old mailbox directory will be deleted, and the
UserList.dat will be changed.
The following is an example of the command line:
DirReorg
DirReorg /Q
Additional Comments
DirReorg.exe is included with the MDaemon installation and is located in \MDaemon\app.