The File menu allows you to create new or open existing batch files, save or print the edit windows, or exit CMDebug.

 

New

 

Opens a new (empty) edit window.

 

Open

 

Open the specified file in a new edit window. If the file is a batch file, Open will load the batch file and any associated breakpoint file (filename.ext.bp) and the watched variables file (filename.ext.watch).

 

Reload from Disk

 

Reloads the file in the current tab from the disk.

 

Close

 

Close the current edit window. If the file has been modified, you will be prompted to save it.

 

Close All

 

Close all edit windows. If the files have been modified, you will be prompted to save them.

 

Save

 

Saves the contents of the current edit window. A Save As dialog box appears in which you can enter the name of the file that you wish to use. If the file is a batch file, Save will save the batch file and any associated breakpoint file (filename.ext.bp) and the watched variables file (filename.ext.watch).

 

Save As

 

Saves the contents of the current edit window. A Save As dialog box appears in which you can enter the name of the file that you wish to use.

 

Save Copy As

 

Saves the contents of the current edit window. A Save As dialog box appears in which you can enter the name of the file that you wish to use.

 

Save All

 

Saves the contents of the current edit window to a file. A Save As dialog box appears in which you can enter the name of the file that you wish to use.

 

Encoding

 

Files are always treated as UTF-8 inside the editor. This option allows you to specify how the file will be written when it is saved to disk.        

 

Default CodepageWhen the file is saved it will be written using the current codepage
UTF16 Little EndianWhen the file is saved it will be written as UTF-16
UTF8When the file is saved it will be written as UTF-8
UTF8 with BOMWhen the file is saved it will be written as UTF-8 with a leading BOM

 

Move to Recycle Bin

 

Delete the file in the current tab by sending it to the Recycle Bin.

 

Print...

 

Sends the contents of the current  edit window to the printer. A Print dialog box appears in which you can choose the portion of the screen buffer you wish to print.

 

Print Preview

 

Show a Print Preview window for the current edit window.

 

Setup Printer...

 

Displays a standard printer setup dialog box. The options available in the dialog box depend on the printer driver(s) you are using.

 

File Properties

 

Display the Windows properties dialog for the file in the current edit window.

 

Load Session...

 

Open a session file previously saved with the "Save Session" option (see below), which loads the specified files into tab windows.

 

Save Session...

 

Create a *.session file with the names of the files in the tab windows. A subsequent "Load Session" will open the files in the *.session file you specify.

 

Exit

 

Ends the current CMDebug session.