Table of contents
Atlantis Word Processor logo
Atlantis Word Processor
Search
Command-line parameters

The simplest way to run Atlantis is by clicking its shortcut on the Windows Desktop. But you can also use the "Run" dialog of Windows to launch Atlantis through a command-line.

The command-line can include various parameters and switches. A parameter in the command-line of Atlantis can be either a document filename that should be opened by Atlantis, or a switch (a string of characters preceded by a slash or a hyphen) that instructs Atlantis to perform some action.

The following table lists all the switches that can be used in the command-line of Atlantis. You can use either long versions of switches or their short counterparts.

Switch
(long)
Switch
(short)
Description Sample command-line
Print p Instructs Atlantis to open the document specified in the command-line, print it, and shut down. awp.exe /p MyDocument.rtf
NoPrintDialog npd Used in combination with the p switch. Instructs Atlantis to print the document from the command-line to the default printer "silently" (without displaying the "Print" dialog). awp.exe /p /npd MyDocument.rtf
PrintTo pt Instructs Atlantis to print the document from the command-line through the specified printer "silently" (without displaying the "Print" dialog). awp.exe /pt MyDocument.rtf "hp deskjet 656c series"
DontCreateNewDoc n Atlantis will not automatically create a new document at startup regardless of its current settings. awp.exe /n
Restored r The window of Atlantis will be initially in "non-maximized" ("restored") state regardless of the recent state of this window. awp.exe -r
Maximized m The window of Atlantis will be initially in the maximized state regardless of the recent state of this window. awp.exe -m
FullScreen fs Atlantis automatically activates the Full Screen mode. awp.exe -fs
DontLoadSettings dls Atlantis does not retrieve its settings either from the registry or an INI file. The default "factory" settings are used. awp.exe -dls
(use this command-line to switch to the "factory" settings).
LoadSettingsFromIni lsi Atlantis will try to retrieve its settings from the My Documents\Atlantis\Atlantis.ini file. awp.exe -lsi
LoadSettingsFromReg lsr Atlantis will retrieve its settings from the Windows Registry. The Atlantis.ini file is ignored even if you launch Atlantis from a memory flash drive. awp.exe -lsr
DontSaveSettings dss Atlantis doesn't save settings on close. awp.exe -dss
SaveSettingsToIni ssi Atlantis saves settings to the My Documents\Atlantis\Atlantis.ini file on close. awp.exe -ssi
SaveSettingsToReg ssr Atlantis saves settings to the Windows Registry on close. awp.exe -ssr
SettingsFileName sfn Instructs Atlantis to use a specified INI file (the name of this INI file should immediately follow this switch). Should be used in combination with the lsi switch. awp.exe /lsi /ssi /sfn "D:\My Settings.ini"
(Atlantis will both read and write settings from/to the "D:\My Settings.ini" file)

Note that the filenames in the command-line that include spaces, should be enclosed within double quotes. For example, to instruct Atlantis to open the document filename My Document.rtf, you should use the following command-line:

awp.exe "My Document.rtf"