I wrote a wise script to copy a file from F:\ to C:\..
as the file is updated often ,so i wrote another wise script to which will put a shortcut at start up location so when the users logs in the file will be copied.For the target path of shortcut i mentioned the first created wise script(.exe)
The problem is when i run the shortcut as administrator the file is copied but on start up it does not,I changed the properties of the shortcut to run as admin..but still this does not work.
Can anyone let me know how to make it work/ where i am doing mistake This on win 7 machine.
Any help is appreciated.

Thank You
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Check your ACL on the folder or file you're trying to write to. If it does not allow users to write to the directory, that may be your problem. You can use DirAttrGet and DirAttrSet to manipulate them but likely it will have to be under local admin authority. Is the file write protected? If it is, then use FileAttrGet and FileAttrSet to manipulate that before copying.

Good luck
Answered 10/31/2011 by: hcbph
Yellow Belt

Please log in to comment