VBSCRIPT TO RUN A SCHEDULED TASK

How do you write a VBScript that will copy a file to a 2nd location?

I have a report that has been created in Crystal Reports XI. I want to export the Report as a .txt or a .pdf daily. Afterwhich I want the file copied to a desired location. Is this possible?

Thank you
CLDE777Asked:
Who is Participating?
 
mlmccConnect With a Mentor Commented:
Depending on how you are doing the export you should be able to specify the location of the exported file.

mlmcc
0
 
David H.H.LeeCommented:
Hi CLDE777,
Yes, it possible. You can use File object to solve this task.
Please see this PAQ and amend it based on your existing solution:
http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/XP/Q_22958039.html
0
 
CLDE777Author Commented:
I will test this out.

Thank you
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.