Solved

Syntax to create a batch file- to copy a shortcut from a SHARE to Windows 7 programs folder

Posted on 2014-11-20
3
174 Views
Last Modified: 2014-12-21
Hi
I have a shortcut called “science molecules” located on a network share called “SHOTRCUTS”
Please post me batch file syntax to copy the “science molecules” shortcut from the share to the following location in windows 7. (The shortcut must be copied within the science folder)
C$\ProgramData\Microsoft\Windows\Start Menu\Programs\Science

I will copy this batch file to a startup script in a GPO (Computer configuration-policies- windows settings-Scripts-startup)

Or please suggest me if there is a better way of doing this.

Thanks
0
Comment
Question by:lianne143
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 70

Accepted Solution

by:
Qlemo earned 250 total points
ID: 40456462
xcopy "\\server\ShortCuts\science molecules.lnk" "%AllUsersProfile%\Microsoft\Windows\Start Menu\Programs}Science\"

Open in new window

0
 
LVL 55

Assisted Solution

by:McKnife
McKnife earned 250 total points
ID: 40456464
Standard way is using a group policy preference file item. http://technet.microsoft.com/en-us/library/cc772536.aspx describes it.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Let's recap what we learned from yesterday's Skyport Systems webinar.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question