Allows control of file operations via transactions to commit or abort changes. TRANSACTION /START | /COMMIT | /ROLLBACK | ...

Allows control of file operations via transactions to commit or abort
changes.

TRANSACTION [/START | /COMMIT | /ROLLBACK | /SUSPEND | /RESUME]

   /START    - Start a new transaction.  Only one can be pending
               at a time.

   /COMMIT   - Commit all changes for the current transaction.

   /ROLLBACK - Rolls back all changes for the current transaction.

   /SUSPEND  - Disables the running transaction, leaving it pending,
               and continue in non-transacted mode.

   /RESUME   - Enable the transaction disabled with suspend.

For both commit and rollback, the transaction is then closed after
the command executes.

If no argument is given, this command displays the current state of the
transaction for CMD.EXE.