Hi all,
I am trying to perform a very simple action, and I have performed this before in an earlier version but it appears to have changed or perhaps i have just forgotten how I did it. I would like to click a button and have a file copied to the %systemroot%, be it WINNT, WINDOWS or whatever the client machine is running. My code is below, but I am getting an error.
I have searched the help files as it appears I am having a problem with the syntax of the %systemroot% end of the statement, but I cannot find anything in the help files.
code follows...
-----------------------------------------
File.Copy("secdata\\drivers\\Crop Software\\SC Direct Sources", "%systemroot%", , , , , nil)
-----------------------------------------
Your time is appreciated.
I am trying to perform a very simple action, and I have performed this before in an earlier version but it appears to have changed or perhaps i have just forgotten how I did it. I would like to click a button and have a file copied to the %systemroot%, be it WINNT, WINDOWS or whatever the client machine is running. My code is below, but I am getting an error.
I have searched the help files as it appears I am having a problem with the syntax of the %systemroot% end of the statement, but I cannot find anything in the help files.
code follows...
-----------------------------------------
File.Copy("secdata\\drivers\\Crop Software\\SC Direct Sources", "%systemroot%", , , , , nil)
-----------------------------------------
Your time is appreciated.
Comment