[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 400
  • Last Modified:

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
0
CLDE777
Asked:
CLDE777
1 Solution
 
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
 
mlmccCommented:
Depending on how you are doing the export you should be able to specify the location of the exported file.

mlmcc
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now