Page 1 of 1

[SOLVED] How to copy a file into programdata?

Published: January 15, 2019 - 1:43 PM
by Elminio
- Installed WAPT version (1.5)
- Server OS (Windows 2016)
- Administration/package creation machine OS (Windows 10)

Hello,

Is this the correct command to copy a WAPT package shortcut to the Windows Startup menu?

filecopyto('BPhone.lnk',makepath('C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp')

Regards,
Elminio

Re: How to copy a file into programdata?

Published: February 4, 2019 - 11:09 AM
by Elminio
Resolved, using the following command:
shutil.copy2('shortcut.lnk', "c:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\StartUp")