Start up -Wise script
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
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
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
hcbph
13 years ago
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
Good luck
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.