/build/static/layout/Breadcrumb_cap_w.png

create batch that adds .exe to startup

Hi there

can someone assist i am trying to create a batch that can copy a file from a server then place it in the users startup folder.
"\\server\folder\folder\folder\ICT\Shared Content\application.EXE" "%USERPROFILE%\Start Menu\Programs\Startup" that is what i have found so far on the net, i have not had any experience in creating scripts so please don't judge my lack of experience to much.

Thank you. 

0 Comments   [ + ] Show comments

Answers (1)

Posted by: dragosCI 6 years ago
Senior White Belt
0
you can create a shortcut that is having "\\server\folder\folder\folder\ICT\Shared Content\application.EXE" as a target and place it in startup folder 
- for specific user: %USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
- for all users: %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Startup
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ