VBANewbie123
New Member
- Joined
- Apr 18, 2015
- Messages
- 19
Hi all
I have a simple line of code that doesnt work because I meed admin rights to place file there.
Anyone able to help me to resolve please?
File location to copy from:C:\Users\User1\Documents\Work\
Destination path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Code:
Thanks in advance
I have a simple line of code that doesnt work because I meed admin rights to place file there.
Anyone able to help me to resolve please?
File location to copy from:C:\Users\User1\Documents\Work\
Destination path: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup
Code:
Code:
FileCopy "C:\Users\User1\Documents\Work\AutoPrompt.vbs", "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\AutoPrompt.vbs"
Thanks in advance