|
-
Jun 8th, 2009, 01:05 PM
#11
Re: [RESOLVED] get all filenames in a drive
 Originally Posted by huxley
sir thx for the code it works
just one thing., if i change the curdir to D$ it doesnt change the directory. its still on the drive C
CurDir is a VB Function.
Syntax: CurDir[(drive)]
The optional drive argument is a string expression that specifies an existing drive. If no drive is specified or if drive is a zero-length string (""), CurDir returns the path for the current drive.
If you want to hard code in the drive and path then just change the SubDir string to what you want. i.e. the root of drive D:, SubDir = "D:\*.*"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|