Jump to content

Recommended Posts

Posted

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


Posted

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

Posted

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

Posted

Hi,

Method with folders does not work for me. Of course, if I need to add only folders and nothing to my runonceex.

Testing MCT method, be back...

Alex

Posted

Get this shortcut.exe and use it, I even use it in RunoncEX

shortcut.exe /f:"%USERPROFILE%\Desktop\SuperScan.lnk" /a:c /t:"%programfiles%\SuperScan\scanner.exe" /W:"%programfiles%\SuperScan"

Posted

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

Posted

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

Posted

xcopy.exe /y "%cdrom%\Install\Quicklaunch\*.*" "%systemdrive%\Documents and Settings\All Users\AppData\Microsoft\Internet Explorer\Quick Launch"

ok... I tried this and it didn't work... Scratching my head now....Any suggestions?

Ed

Posted

do a test.. from inside your virtual machine... replace %CDROM% with D: or whatever letter your cdrom is.. maybe your not setting the variable correctly

Posted

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

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