daily I have to add a couple of url's to the links toolbar for every new computer that comes into our office. it's simple to drag and drop manually but time consuming and tedious.
does anyone know how I can have this done automatically with a simple batch file or vbs script?
Software/Hardware used:
ASKED:
May 26, 2009 6:55 PM
UPDATED:
May 29, 2009 6:23 PM
Thank you.
it looks like I was on the right track but something is not right
I originally had the url’s saved in the same folder as my batch file and i used the following code
copy *.url “c:documents and settings%username%favoriteslinks”
this would copy the url to the folder but it would not populate the toolbar automatically
when I use your code (i even tried copiing line 4 exactly as it’s typed as a test) I keep getting an “http:” is not a recognized command error..
am i missing something? or is it something like the “choice” command and xp isn’t recognizing http: ?
yes, of course it will, sorry I was not thinking straight. dos is finnicky.
Try this instead.
Copy the links you want to add to the new pc into a folder, on floppy or flash stick but use windows explorer to do it.
I called my folder urllinks, dos dosn’t like filenames more than 8 characters.
Then change the batch file to the following
———————————————————
rem batch file to update new pc with standard url info.
rem the next line copies the link information to favourites bar folder.
copy urllinks*.* C:UsersAdministratorFavoritesLinks
rem copies content of folder from removable medium to folder on new pc
———————————————————-
I’ve just done it now to check and it works. just double check the destination folder address for accuracy.
I copy it from the toolbar link when using windows explorer.
Hope it works for you.
Dave
just noticed that the slashes that seperate the folders don’t show in the new listing.
4 copy Favorites*.* C:UsersAdministratorFavoritesLinks
Don’t understand how they got lost…..
thanks got it working like a charm now
Good news. Glad to have been of assistance.