Actually, I think I was trying to over simplify this for users.
Instead, I'm just going to call the above sub mulitple times with the filedirectory and folder strings as need with each call; really its' the same thing anyway.
Thanks for the help.
Maybe the way I'm doing this isn't the best ideal. I have many batch files that I'm trying to get rid of, but within those batch files they copy and move files that are different names to different directories, but they must be done at the same time.
For example, this batch file backsup a file...
Thanks very much for the response. Ok, so heres the thing, the multiple files that are getting copied will be very specific.
So in the batch file I would have had:
copy c:/documents and settings/temp/file1.txt
copy c:/documents and settings/temp/AnotherFile.txt
copy c:/documents and...
Sorry for not being more clear on the subject. I've since went away from the batch files and decided to create the same tasks within VBA itself as to the functions that were happening in the batch files. The functions were simple, copy and pasting of files from different locations and folders...
Hi,
I was wondering if anyone else has done what I need. My vba app has alot of batch files within it. Problem is, they run in the background and the user doesn't know if a part of that task the batch file executes fails or not. Is there is a way to track if something fails and to give the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.