|
-
Nov 17th, 1999, 05:42 AM
#2
New Member
With this code you can know the name of every directory on "c:\", and using an API called "Copyfile" you can copy a file in every directory on your hard disk ( using a "Do Loop").
Code:
MyPath = "c:\"
Loop
MyName = Dir(MyPath, vbDirectory)' Searches fo all dyrectories name
Copyfile API here
Do While MyName <> ""
I hope this can help you.
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
|