Re: script to pin shortcuts to Start menu

Tech-Archive recommends: Fix windows errors by optimizing your registry



Debra,
The contents of the file are just to 'crazy' (composed of much
binary data) to post here so that you could 'copy and paste' it back into a
..REG file. I am sorry. I was really hoping that you might be using Outlook
Express to read this group, but alas, it appears not (I should have known
that had I looked at the 'properties' of your post in my OE, very
unprofessional of me).
However, all is not lost. If you were to email me directly with
an email address I can send it to, I would be happy to do that. I have
tested the .reg file extensively on various [XP] computers and it does work
as you requested. 'Pinning' rather than just 'copying' the shortcuts to the
various MS Office components.

Email me here for the .reg file:

mailto: timmed***@xxxxxxxxx

==


Cheers, Tim Med***, Peckham, London. :-)


"Debra" <Debra@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6FA563D2-E1B9-4591-B665-656287E5435E@xxxxxxxxxxxxxxxx
Tim,
I did not get the reg hack. And yes we do use the XP Start menu.
Unfortunetly I use Novell Groupwise and not Outlook.
It sounds like your solution would work if I could just figure it out.
Thanks for all your help on this.
Debra

"Tim Med***" wrote:

Debra,
This registry 'fix' should do it as I have since found out
where
XP 'stashes' the configuration of the "pinned to..." menu. However, it
is
all in 'machine code' and is unsuitable as a 'copy and paste' to be
written
here. So I can only hope that you are using Outlook Express to post
here.
If you are, then just 'save to disk' the attached .reg file and
double-click
upon it OR import it from within Regedit. You will have to logoff /
logon
to see the changes. This will give you your links PINNED to the XP style
Start Menu (rather than in the 'root' of it when using the classic
menus).

I really am hoping this works out for you.


==



Cheers, Tim Med***, Peckham, London. :-)


"Debra" <Debra@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1DB71E96-943D-4478-ADA5-AD756DF47C6E@xxxxxxxxxxxxxxxx
Tim,
Thank you and will try this because I am trying to pin to the Start
Menu
and
not just copy the links to the Programs Folder.
Thank you and I will post back either way.
Debra

"Tim Med***" wrote:

Debra,
The folder "Microsoft Office" can be either in the "All
Users"
profile folder (C:\Documents and Settings\All Users\Start Menu) or in
your
own profile's folder (C:\Documents and Settings\YOU\Start Menu where
YOU
stands for your user name). So this BATCH file will copy either:

--------------- copy between lines ---------------

@Echo Off

if EXIST "%ALLUSERPROFILE%\Start Menu\Programs\Microsoft Office\*.lnk"
copy
"%ALLUSERPROFILE%\Start Menu\Programs\Microsoft Office\*.lnk"
"C:\Documents
and Settings\All Users\Start Menu" /y

if EXIST "%USERPROFILE%\Start Menu\Programs\Microsoft Office\*.lnk"
copy
"%USERPROFILE%\Start Menu\Programs\Microsoft Office\*.lnk"
"C:\Documents
and Settings\All Users\Start Menu" /y

--------------- copy between lines ---------------

(*NB I have left a space between each line in this batch file; please
ensure
each 'line' is all on one line in the new batch file as line-wrap may
have
made the lines appear altered in my post. There should only be three
lines
in the end batch file)

This should do what you want without doing something totally
unadvisable
like altering the definition of the Environment Variable
"ALLUSERPROFILE"
it
should remain as "C:\Documents and Settings\All Users"


==



Cheers, Tim Med***, Peckham, London. :-)


"Debra" <Debra@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2C1355E5-18A5-41A2-9334-758484B9C4AF@xxxxxxxxxxxxxxxx
Thanks David,
Here is what I put into my batch job...
@Echo Off
copy "%ALLUSERPROFILE%\Start Menu\Programs\Microsoft Office\*.lnk"
"C:\Documents and Settings\All Users\Start Menu\Programs" /y

When I run my batch job I get the following error...
\Start Menu\Programs\Microsoft Office\*.lnk
The system cannot find the path specified.
0 files copied
Can you tell me what I am missing?
Thank you,
Debra

"David H. Lipman" wrote:

From: "Debra" <Debra@xxxxxxxxxxxxxxxxxxxxxxxxx>

| I have written a VB script to pin the Office 2007 shortcuts to
the
Start
| Menu. Only problem is...it pins the .exe file, not a .lnk file. I
would
also
| like to unpin the old Office links from the Start menu to clean
things
up.
| How can I pin the .lnk files and not the .exe files?
| Can this be done? I have not been able to find anything on the
Internet.
| Thanks,
| Debra

Copy "%ALLUSERSPROFILE%\Start Menu\Programs\Microsoft
Office\*.lnk"
"C:\Documents and
Settings\All Users\Start Menu\Programs" /y
--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp











.


Quantcast