Copy File

Copys a file from one location to another using WSH

CodeFunctionName
What is this?

Public

Not Tested

Original Work
<html >
<head >
</head >
<body >
<%
dim wsh
set wsh = createobject("WScript.Shell")
response.write wsh.run("cmd /c copy d:\websites\jeffasmithcom\read_text\test.txt d:\websites\jeffasmithcom\read_text\test3.txt")
set wsh = nothing
response.write "done"
% >
</body >
</html >

Views 5,021

Downloads 1,586

CodeID
DB ID

JeffSmith
26
Revisions

v1.0

Monday
April
23
2018