There are three different methods of executing commands from the Command Line client.
C:\Program Files\DoubleTake> dtcl -i Command: login alpha administrator ******* domain_name User access level set to DT_FULL_ACCESS Command: |
C:\Program Files\DoubleTake> type dtcl.txt login alpha administrator password domain; source alpha; repset list;
C:\Program Files\DoubleTake> dtcl -f dtcl.txt User access level set to DT_FULL_ACCESS - List of rep sets - DataFiles enabled
C:\Program Files\DoubleTake> |
C:\Program Files\DoubleTake> dtcl login alpha administrator password domain; source alpha; repset list User access level set to DT_FULL_ACCESS - List of rep sets - DataFiles enabled
C:\Program Files\DoubleTake> |
Note: | Because the Windows command process (cmd.exe) strips two layers of quotation marks during processing, any scripting command that you use that requires quotation marks must have three quotation marks around it. For example, if your machine name had a space in it, login "machine name" username password would be sufficient for the Command Line client interactive entry or file entry. But for the Command Line client single line entry, you would have to use login """machine name""" username password. |