FAQ #2607, published on 2002-11-28
[Re: Windows Explorer, parameter retrieval, drag and drop]
When I launch a WinDev executable in the Windows Explorer by dropping one or several selected files, how can I get the names of those files?
The names of the files which have been dropped on the WinDev executable can be retrieved with the function CommandLine().

Example:

// Load the list with the dropped files
Fic is string
i is integer

Fic=CommandLine(i)
WHILE Fic<>""
__ListAdd(List1, Fic)
__i++
__Fic=CommandLine(i)
END
See also : wd7, parameter, commandline, drag, drop