开发者

Shell.Application: How to copy files

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜