on 2012 Nov 30 12:10 PM
Hi there....
I want to get a directory listing of the physical hard drive i.e. C: drive.
one can get the file lists by using the GetFileList Action block you can create files and create directories
and you can delete directories and files.
but I also now need to get a directory listing in order for me to loop through each directory to get the files listed in the directories
in order for me to delete the files and then delete the directories.
but the File list action block only seems to be able to give me the files and not directories.
Any ideas ?
Thansk in Advance
Request clarification before answering.
Hi Morne,
By using "Get File List" action block, we can't get list of directories under C: drive.
We can only get details of a particular folder using mask as "*.*"
Example: Folder : C:\Test Mask : *.*
We can create custom action block to get the all the directories under C:\ drive. This might be one option.
Hope it helps.
Thanks
S.Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.