Scripting Question

create batch that adds .exe to startup

07/17/2017 1379 views
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


All Answers


Use "xcopy"

The code below will copy from a network share to your desired destination.

The orange highlights is the source path and the application .....and the blue highlights is the target destination

xcopy /s \\Myserver\Folder\Program.exe c:\myfolder

Answered 07/17/2017 by: akmagnum
Red Belt

Please remove your duplicate post. Thanks!
Answered 07/17/2017 by: anonymous_9363
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


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