/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 (2)

Posted by: akmagnum 7 years ago
Red Belt
0

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


Posted by: anonymous_9363 7 years ago
Red Belt
0
Please remove your duplicate post. Thanks!

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:

Share

 
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