ramitaherwahdan
New member
- Local time
- Today, 22:01
- Joined
- Feb 21, 2011
- Messages
- 9
Dear All,
Thanks in advance for the help. I am trying to copy many files (reports as pdf) from one folder to another. I tried to do that with filecopy but the customers were complaining it takes too long. I try to use the shell command that makes the copy process faster as I heared.
I took the below code:
retval = Shell("XCOPY c:\DELL6400\*.* C:\test /E", 0)
and I tried to do the same as the above but with names for the path "from" and "to" because I retrieve them from the table in loop operation as below:
retval = Shell("XCOPY ") & filePath & " " & filePath2
but the code dont work! can someone help me on this
Thanks,
Rami
Thanks in advance for the help. I am trying to copy many files (reports as pdf) from one folder to another. I tried to do that with filecopy but the customers were complaining it takes too long. I try to use the shell command that makes the copy process faster as I heared.
I took the below code:
retval = Shell("XCOPY c:\DELL6400\*.* C:\test /E", 0)
and I tried to do the same as the above but with names for the path "from" and "to" because I retrieve them from the table in loop operation as below:
retval = Shell("XCOPY ") & filePath & " " & filePath2
but the code dont work! can someone help me on this

Thanks,
Rami