Command Prompt for Windows

Copying the Dialog to the Clipboard

Once the dialog box is complete, simply copy it to the clipboard and then paste the commands directly into your batch file. Select the Edit menu to display the following menu :-


Copies the current dialog box to the clipboard.

The dialog box is placed into the clipboard as a sequence of batch commands. These commands are the batch commands necessary to display the dialog box, exactly as it appears in the Dialog Editor, but from with in a batch file.

Once the dialog box has been copied to the clipboard simply paste the batch commands into your batch file. The DLGSHOW batch command is not included in the batch commands copied to the clipboard.