开发者

Shell.Application: How to copy files

开发者 https://www.devze.com 2023-03-28 02:33 出处:网络
I am writing an ASP file to copy file from one folder to another: <% set shell1=server.createobject(\"shell.application\")

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!


Look at the CopyFile method on the FileSystemObject.

http://msdn.microsoft.com/en-us/library/e1wf9e7w(v=VS.85).aspx

0

精彩评论

暂无评论...
验证码 换一张
取 消