Call now to talk to an automation expert — (512) 345-2211

Knowledge Base

Enter search queries below or use the tag links to the right to browse the knowledge base by category (Show All Tags).


How can I get a list of files with the archive bit set into Robo-FTP?

You can accomplish this indirectly by using the DOSCMD script command to do a directory listing with the /aa option which lists file(s) with the archive bit set and writes the resulting file list to a text file. For example:

DOSCMD "dir /aa *.* > dirlist"

Then use the READFILE command to read the "dirlist" file and use one or more of the Robo-FTP string/substring commands (e.g., SETLEFT) to parse each line of the file to extract the file name(s).

Article last updated: 2019-05-02

Tags: Robo-FTP, DOS commands

Need help figuring out where to start?

Our sales staff is available to answer product questions and help you determine if Robo-FTP is a good match for your project.

Call Now: (512) 345-2211