Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop Testing Forum : Testing Tools @ OneStopTesting : SilkTest @ OneStopTesting |
Topic: Getting files names in a directory |
|
Author | Message |
jack45
Newbie Joined: 31Mar2007 Online Status: Offline Posts: 27 |
Topic: Getting files names in a directory Posted: 31Mar2007 at 4:00am |
Hi,
I want to get names of all the files in a directory(which contains more than 1000 files). I try to use SYS_GetDirContents() but it is taking too long, i waited for 30 minutes it is still reading. Is there any better way to do that? Thanks in advance. Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
IP Logged | |
jack45
Newbie Joined: 31Mar2007 Online Status: Offline Posts: 27 |
Posted: 31Mar2007 at 4:26am |
LIST OF STRING lsOutput
SYS_Execute ("Dir c:\myDirWithfiles", lsOutput) Then parse through the lsOutput to get the filenames. |
|
IP Logged | |
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.