Login   /   Register

Lists only files and folder in a specific directory and sub-directory

March 31st, 2008 by daniva
     0 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 5
Loading ... Loading ...

the example list all folders under QTP installation folder. optionally you can load the output to an array, id you need to iterate the list.

Lists only directories in a specific directory

March 31st, 2008 by daniva
     0 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 5
Loading ... Loading ...

the example list all folders under C:\Automation. optionally you can load the output to an array, id you need to iterate the list.

Lists all files and directories in a specific directory

March 31st, 2008 by daniva
     0 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 50 votes, average: 0 out of 5
Loading ... Loading ...

Dir displays a list of files and subdirectories in a directory.