PathRequester()

Syntax

FileName$ = PathRequester(Title$, InitialPath$)
Description
Opens the standard path requester for the user to select a path. The title can be specified to replace the default one. The InitialPath$ is useful to initialise the requester in the right directory. The path is returned with the terminating '\'

Example:
  InitialPath$ = "C:\"   ; set initial path to display (could also be blank)
  Path$ = PathRequester("Please choose your path", InitialPath$)
  If Path$
    MessageRequester("Information", "You have selected following path:"+Chr(10)+Path$, 0)
  Else
    MessageRequester("Information", "The requester was canceled.", 0) 
  EndIf

Supported OS

All

<- OpenFileRequester() - Requester Index - SaveFileRequester() ->