Go to Glossary Search VisualAge C++ Help Go to VisualAge C++ Help Home Page Go to WWW VisualAge C++ Site

Save As

This dialog box lets you specify the file name of the file to save in the current view. The Save As dialog box also appears whenever you save an unnamed file in the Editor window.

Note: In the Source view, the Save As command can only be activated by using the command line.

You can also use this dialog box to save an already-named file under a new file name, then edit the newly-named file in the current view. The original file is preserved as it was when you last saved it.

File name enters the name of the file under which you want the current contents of the view saved.
You can either type the name of the file in the entry field, or you can select a file from the file selection list that appears below this field. The file names in the file selection list reflect the contents of the directory and drive currently highlighted in the Folders and Drives controls.

You can filter the contents of the file selection list by entering a file name pattern in the File name field. For example, entering a file name of *.txt will cause the file selection list to display only files that end with a .txt file name extension. If you enter the name of a file that does not exist, the current contents of the view are saved under that file name without further message.
If you enter the name of a file that already exists, a dialog box appears asking you to confirm that you want to replace the existing file.

List files of type is not used.
Folders selects the directory where you want the file saved.
Drives selects the drive where you want the file saved.
As displayed saves the file exactly as it is displayed in the Editor, including formatting performed by the Editor, such as expanded tabs and level indenting.
Rename document changes the name of the file currently visible in the Editor. If you save the file without this option selected, a copy of the current contents of the editing dialog box is saved under the given name, but the copy in the Editor itself is not renamed.
Linebreak mode changes how the end of lines are saved in your file. Available linebreak modes are:
DOS Default mode. Requires that both CR (Carriage Return) and LF (Line Feed) are present at the end of a line, and are adjacent in that order.
CRLF Same as DOS mode.
UNIX Requires only LF at the end of a line.
LF Same as UNIX mode.
OK saves the file with the file name and properties specified.
Cancel closes the Save As dialog box without applying any of the changes you have made, and returns to the Editor.
Network displays the Map Network Drive dialog box, where you can specify how remote network directories are mapped to your local system disk drive letters.