Jump to content

How to Add Shortcuts


Alex

Recommended Posts

I learnt to use SFX for some small programs and they install just great.

But how to add a shortcut to start menu ->all programs? Or to quick launch?

tried COPY "%CDROM%\Software\Client Manager.lnk" "%UserProfile%\Start Menu\Programs\Accessories\"

There is a mistake?

Thanks a lot in advance,

Alex

Link to comment
Share on other sites


its kinda simple..you can use the cd to place your short cuts for you....

Here is a small guide.

1. to place shortcuts on your desktop you need to create the following folders in the $OEM$ folder on your cd

$DOCS\All Users\Desktop

Here is a break down of the code above

$Docs = To the documents and settings folder of Windows XP

All Users = To the folder that Every user of the computer has access to

Desktop = To the Desktop (duh)

2. To place them in the Quick Launch Menu

$DOCS\{USER}\Application Data\Microsoft\Internet Explorer\Quick Launch\

{User} = To the user name of the person you want the shortcut to be created for. Just replace with all users for every user of the pc..

3. The Start Menu

$Docs\All Users\Start Menu\Programs\{?}

Create shortcuts for which ever program you want in the All Programs Menu

Just replace {1} with the name of the prog..

Sunil

Link to comment
Share on other sites

i just wanna add sometimes if you have $docs when u run from the cd it will SOMETIMES think the name is already being used (cuz u placed the username folder there) so your username MAY be <username>.<pcname>

XCOPY "%CDROM%\whatever.lnk" "%userprofile%\desktop" /Y should work..

regards

Link to comment
Share on other sites

Would this be the proper way to make a link that points to 'explorer' and then make a shortcut for the quick launch bar?

shortcut.exe /f:"%Administrator%\Application Data\Microsoft\Internet Explorer\Quick Launch\explorer.lnk" /a:c /t:"%SystemRoot%\explorer.exe" /W:"%SystemRoot%\explorer"

Ed

Link to comment
Share on other sites

ok, I think I got it right. I will find out in a few minutes after I get vmware up and running. but the syntax is :

xcopy.exe /y "%cdrom%\Install\Quicklaunch\*.*" "%systemdrive%\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch"

does this look correct?

Ed

Link to comment
Share on other sites

ok, I tried it a few more times...this will work from start run

"xcopy.exe /y "%systemdrive%\APPS\QUICKLAUNCH\*.*" "%systemdrive%\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\". But it will not work from runonce or in a .cmd file.

Any thoughts?

Ed

Link to comment
Share on other sites

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