Bankesy Posted March 10, 2014 Posted March 10, 2014 Hello I have a question related to creating a path for software as it gets rolled out. Take for example the command: md "%AllUsersProfile%\Microsoft\Windows\Start Menu\Programs\IT" xcopy "\\server\folder1\folder2\folder3\Shortcut.LNK" "%AllUsersProfile%\Microsoft\Windows\Start Menu\Programs\IT" /h /c /y That is a typical example of the current setup obviously placing shortcuts in the IT folder on the Start Menu but what if I wanted to create a sub folder under IT such as Programming? Do I simply add \Programming to the end of the path or does it already have to exist on the target clients? Any help will would be welcome, thank you in advance
Steve21 Posted March 11, 2014 Posted March 11, 2014 Do I simply add \Programming to the end of the path or does it already have to exist on the target clients? md "%AllUsersProfile%\Microsoft\Windows\Start Menu\Programs\IT" is creating the directory, before copying into it. So it'll create the "Programming" one, if you add that to the end. Steve
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now