Jump to content

Recommended Posts

Posted (edited)

This is based on Yzöwl's great tip of howto make shortcuts through INFs...

The following places shortcuts for "%programfiles%\Regshot unicode\Regshot.exe" onto the desktop and in Quick Launch:

@echo off
echo>tmp.inf [Version]
echo>>tmp.inf Signature=$Windows NT$
echo>>tmp.inf [DefaultInstall]
echo>>tmp.inf UpdateInis=updateinis
echo>>tmp.inf [updateinis]
echo>>tmp.inf setup.ini,progman.groups,,group1=%%16409%%
echo>>tmp.inf setup.ini,group1,,"Regshot unicode,""""""%%16422%%\Regshot unicode\Regshot.exe""""""
echo>>tmp.inf setup.ini,progman.groups,,group2=%%16410%%\Microsoft\Internet Explorer\Quick Launch
echo>>tmp.inf setup.ini,group2,,"Regshot unicode,""""""%%16422%%\Regshot unicode\Regshot.exe""""""
rundll32 advpack.dll,LaunchINFSection tmp.inf,,1
del tmp.inf

Use the above as a template for your own NT Command Scripts and change the dirids to whatever, and if you don't know what that means, then either educate yourself through googling, or use a tool like shortcut.exe!

Edited by Martin H

Posted

As an addition to the above, the original topic is located here.

As an update, later on in the topic I decided to re-evaluate the information in order to hopefully reduce some of the confusion with numbers of double-quotes. Here therefore is my updated post, which may help too.

You may also notice later in the topic a reminder of the newer method of creating shortcuts using infs which may also help some of you.

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...