Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin


 One Stop Testing ForumTesting Tools @ OneStopTestingSilkTest @ OneStopTesting

Message Icon Topic: Getting files names in a directory

Post Reply Post New Topic
Author Message
jack45
Newbie
Newbie


Joined: 31Mar2007
Online Status: Offline
Posts: 27
Quote jack45 Replybullet 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 IP Logged
jack45
Newbie
Newbie


Joined: 31Mar2007
Online Status: Offline
Posts: 27
Quote jack45 Replybullet 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 IP Logged
Post Reply Post New Topic
Printable version Printable version

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



This page was generated in 0.500 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Privacy Policy | Terms and Conditions
Job Interview Questions | Placement Papers | Free SMS | Freshers Jobs | MBA Forum | Learn SAP | Web Hosting