I am looking for the code, where i need to copy file from network shared drive to desktop using DOS copy command in javascript. As sample code below:
Sample Code:
oShell = new ActiveXObject("Shell.Application");
oShell.ShellExecute(cmd.exe, copy C:\text123.txt D:\folder\, "", "open", "1");
From Help for your language.
What is wrong with your code is the cmd syntax is wrong. Type
cmd /?
.