compactman Posted November 24, 2006 Posted November 24, 2006 (edited) Most of my auto scripts are batch right now since they are easy to maintain. So a solution in batch would be appreciated.I want to do a few things.copy a .ico file to C:\copy a .url file to the users start menu where my automation is happeningI know I can batch the .ico to C with no problemThen the easiest way would be to copy the folder with the .url files into the start menu for all users but I'm having a brainfreeze. I know I can use C:\documents and settings\%ALL USERS% in the path. I just cant get the format correct.I'm like 3 quarters the way there lol.I have about 40 other tasks automated into these batch scripts like installing software and windows updates and such. I'm working on a .net version of our automation that I plan to release under the GPL including package manager for silent installs reg files and the works. I'll update you guys once its on sourceforge. Were just getting ready to kick the batch scripts out since vista's coming. Edited November 24, 2006 by compactman
cyberloner Posted November 24, 2006 Posted November 24, 2006 those files copying stuff ... i think use winrar to add as rar file and make sfx in the winrar. to extract those files is the best and easy way than using batch command....if u wanna make batch filebatch commandcopy /y *.ico c:\ >nulcopy /y *.url "%allusersprofile%\Start Menu\Programs" >nulhope this help u
ajua Posted November 24, 2006 Posted November 24, 2006 the winrar sfx archive is the easiest solution. just keep a folder with all your start menu entries updated and before making the unattended image compile a new sfx so everything is current.
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