Gemini07306
Technical User
Please, I need all the expertise from any of you good folks.
I have about 400 files, and these file are saved in various folders in "C:\" drive.
example: C:\Image\files.TIF
I know I can acomplish this by using the "Name statement" - Oldname As Newname. What code can I use to loop thru and rename all the files in all the folders?
DOS Command in vba
-------------------
I can use a DOS command in a Dos prompt: "C:>" to copy a list of files from one folder to another.
Example: C:\JVIAIMAGE\IMAGES\01092004*.TIF > C:\NEWFOLDER\FILENAME.DOC.
How can I execute this DOS command in VBA? Is there any command,function or special character that I can put in the "DIR" Access function to execute the above copy Dos command?
Thank you all for your assistance.
I have about 400 files, and these file are saved in various folders in "C:\" drive.
example: C:\Image\files.TIF
I know I can acomplish this by using the "Name statement" - Oldname As Newname. What code can I use to loop thru and rename all the files in all the folders?
DOS Command in vba
-------------------
I can use a DOS command in a Dos prompt: "C:>" to copy a list of files from one folder to another.
Example: C:\JVIAIMAGE\IMAGES\01092004*.TIF > C:\NEWFOLDER\FILENAME.DOC.
How can I execute this DOS command in VBA? Is there any command,function or special character that I can put in the "DIR" Access function to execute the above copy Dos command?
Thank you all for your assistance.