All Manuals > CAPI User Guide > 11 Prompting for Input > 11.2 Prompting for values

NextPrevUpTopContentsIndex

11.2.4 Prompting for files

To prompt for a file, use the function prompt-for-file :

(prompt-for-file
 "Enter a file:")

You can also specify a starting pathname:

(prompt-for-file
  "Enter a filename:"
  :pathname "/tmp/")

Figure 11.8 Selection of a file

Try also the function prompt-for-directory .


CAPI User Guide (Unix version) - 30 Aug 2011

NextPrevUpTopContentsIndex