LISTDIR List local folder to a file |
Top Previous Next |
This script command produces a folder listing of FileLink's working folder or a specified folder and writes it to a file. If [ file name ] is not specified, FileLink creates a file in the working folder named "dirlist.txt". The folder format written to this file is the same as might be produced using the dir command in a DOS window.
This command is useful in creating a folder listing file. Consider the following example where a listing file of a folder is created and sent to the remote system.
LISTDIR "\uploads\*.*" SENDFILE "dirlist.txt"
Related Command(s): MAKEDIR, WORKINGDIR
|