Page 1 of 1 1
Topic Options
#59934 - 2001-10-18 09:27 PM Quick Launch Bar
rbursey Offline
Fresh Scripter

Registered: 2001-06-28
Posts: 30
Loc: Grand Falls-Windsor, NF CANADA
Hi All,

I'm trying to write a script that addes items to the user's Quick Launch bar in Win2K Pro. I can't seem to find the registry key for this. I can find the key for the user's desktop but not where the Quick Launch path is stored. Anyone know what key I should use?

Thanks,
-Rick.

_________________________
Regards, -Rick.

Top
#59935 - 2001-10-18 11:09 PM Re: Quick Launch Bar
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Hello Rick,
On my PC, the Quick Launch items reside in C:\Documents and Settings\Administrator\Application Data\Microsoft\Internet Explorer\Quick Launch\
If I put shortcuts there, they appear in Quick Launch. I don't know if there's a specific registry entry that will tell you the location. The env var %USERPROFILE% gets you part way there.


HTH

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#59936 - 2001-10-18 11:14 PM Re: Quick Launch Bar
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I found a TechNet article (Q235557) that explains how to get rid of Outlook shortcuts. It's written in VBScript. There they use the ProfilePath = Left(DesktopPath,Len(DesktopPath)-8) to locate the Quick Launch folder.

[ 18 October 2001: Message edited by: LLigetfa ]

_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#59937 - 2001-10-19 03:34 PM Re: Quick Launch Bar
rbursey Offline
Fresh Scripter

Registered: 2001-06-28
Posts: 30
Loc: Grand Falls-Windsor, NF CANADA
Thanks Les,

Thanks for the reply.

I knew I could find it that way actually but I fugured that this information must be in the registry somewhere. I was able to get the location simular to your suggestion.

I did the following:

code:
 $AppData = Readvalue('HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders','AppData')
$ShellQuick = "$AppData\Microsoft\Internet Explorer\Quick Launch\"

I'm not sure if this will find the Quick launch bar under Win9x or not because I have yet to test it.

-Rick.

_________________________
Regards, -Rick.

Top
#59938 - 2001-10-19 03:53 PM Re: Quick Launch Bar
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Rick,
I figure M$ used the above method for a reason. I cannot test on Wintendo because my builds don't include Quick Launch.
In your environment, is HKCU even available from the logon on Wintendo?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#59939 - 2001-10-19 06:12 PM Re: Quick Launch Bar
masken Offline
MM club member
*****

Registered: 2000-11-27
Posts: 1222
Loc: Gothenburg, Sweden
Rick Bursey, the appdata under HKCU + "\Microsoft\Internet Explorer\Quick Launch" is what I use too, works great (even in non-English OS's).

This appdata entry is also available for all Win32 OS's.

(btw, if you're going to remove the OL express link, you're going to have to do a DOS attrib -r on the *.lnk to be able to remove it..)

[ 19 October 2001: Message edited by: masken ]

_________________________
The tart is out there

Top
#59940 - 2001-10-19 08:49 PM Re: Quick Launch Bar
rbursey Offline
Fresh Scripter

Registered: 2001-06-28
Posts: 30
Loc: Grand Falls-Windsor, NF CANADA
Thanks Guys for the info.

I'm using the following code snibit:

code:
 $ShellDesk = Readvalue('HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders','Desktop')
$AppData = Readvalue('HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders','AppData')
$ShellQuick = "$AppData\Microsoft\Internet Explorer\Quick Launch\"

; Lotus Notes
IF EXIST("C:\Notes\notes.exe") = 1
$TargetFilespec="C:\notes\notes.exe"
; Add the Icon to the Desktop
$cmdline = '"$MakeScutPath" /n "$ShellDesk\Lotus Notes" /t "$TargetFilespec" /s "I:\notes\data" /o /r max /k CTRL+ALT+L '
Shell $cmdline
; Add the Icon to the Quick Launch Bar
$cmdline = '"$MakeScutPath" /n "$ShellQuick\Lotus Notes" /t "$TargetFilespec" /s "I:\notes\data" /o /r max '
Shell $cmdline
ELSE
ENDIF


It works under Win9x and Win2K no problem.

I have a few users who think that an application is NOT installed if the shortcut is not on their desktop!!

BTW: I'm using the MakeScut Utility from ScriptLogic to create/edit the ShortCuts. Great little util. I was creating each shortcut manually and then coping from a network share to each user's PC when they logged on. This way is much cleaner and I don't have to worry about what version of Windows the user is running.

_________________________
Regards, -Rick.

Top
#59941 - 2001-10-23 12:49 AM Re: Quick Launch Bar
Anonymous
Unregistered


I found the Quick Launch bar in the following registry key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\GrpConv\MapGroups

under the key "Quick Launch".

Note: I am using Windows XP, so mileage may vary.

Top
#59942 - 2001-10-22 04:46 PM Re: Quick Launch Bar
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
That reg entry does not exist on my Win2K.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 633 anonymous users online.
Newest Members
ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder, M_Moore
17887 Registered Users

Generated in 0.049 seconds in which 0.013 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org