I am writing an ASP file to copy file from one folder to another:
<%
set shell1=server.createobject("shell.application")
%>
I would like to know how I can copy file from D:\from\from.txt to D:\to\
Thanks a lot!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Look at the CopyFile method on the FileSystemObject.
http://msdn.microsoft.com/en-us/library/e1wf9e7w(v=VS.85).aspx