/bundles/itninjaweb/img/Breadcrumb_cap_w.png
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   [ - ] Hide Comments

Comments

Please log in to comment

Answer this question or Comment on this question for clarity

Answers

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


Answered 07/17/2017 by: akmagnum
Red Belt

Please log in to comment
0
Please remove your duplicate post. Thanks!
Answered 07/17/2017 by: VBScab
Red Belt

Please log in to comment
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share