Jump to content

Silently add Start menu folders and shortcuts?


Recommended Posts

Posted (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 happening

I know I can batch the .ico to C with no problem

Then 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 by compactman

Posted

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 file

batch command

copy /y *.ico c:\ >nul

copy /y *.url "%allusersprofile%\Start Menu\Programs" >nul

hope this help u

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...