Function | Package: windows | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## set-default-command-line-arguments

Arguments: exe option-strings

exe should be a pathname or string which represents the executable image program for which you want to change the default command line arguments. By default we mean the command line arguments are not given in an actual call to the program, but the program behaves as if they were given. option-strings is a list of strings representing command line arguments, such as `'("+m" "+R")`. For example:

    (win:set-default-command-line-arguments "foo.exe" '("-I" "bar.dxl"))

would cause foo.exe to load bar.dxl instead of foo.dxl upon startup.

    (win:set-default-command-line-arguments "foo.exe" '("+B" "+cn"))

would cause foo.exe to start without a splash screen and to not grab the focus on startup.

A typical use of this function is to call it on the executable created with generate-application:

      (generate-application "foo" "foo/" ...)
      #+windows
      (win:set-default-command-line-arguments "foo/foo.exe" '("+B" ...))

See Command line arguments in startup.htm for a list of command-line arguments accepted by Allegro CL.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version