Solved

Windows 2000 internet shortcut to all users

Posted on 2007-04-10
5
198 Views
Last Modified: 2010-04-13
on windows 2000 systems I need to create a shortcut in their favourites list to an ip address. The problem that I face is that when I put the shortcut in the c:\documents and settings\all users\favorites folder, the shortcut doesn't show up

I need this to show in everyones list including all future users. Any help?
0
Comment
Question by:bbcac
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 67

Expert Comment

by:sirbounty
ID: 18883246
Favourites are in the personal profile...
One method I could think of would be:

for /f "delims=" %%a in ('dir c:\Documents and Settings\ /b /ad') do copy \\server\share\shortcut.lnk "c:\documents and settings\%%a\favorites"
0
 

Author Comment

by:bbcac
ID: 18883271
in windows XP this is not the case and this method should work across OS's.
Your method above would not work for all future user.

0
 
LVL 67

Accepted Solution

by:
sirbounty earned 250 total points
ID: 18883368
Why not?
For 2k & xp, this is the profile container folder.
It would copy the shortcut to all profile's favortes folder.
You could modify it slightly to 'only' copy if it doesn't exist by using this:

set shortcut="my shortcut.lnk"
for /f "delims=" %%a in ('dir c:\Documents and Settings\ /b /ad') do (
  if not exist "c:\documents and settings\%%a\favorites\%shortcut%" copy "\\server\share\%shortcut%" "c:\documents and settings\%%a\favorites\"
)
0
 

Author Comment

by:bbcac
ID: 18883386
why is there a favorites folder in the all users profile folder if it doesn't work
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 18883413
I can't answer that - but in all my testing, dropping it into allusersprofile\favorites never worked to get it on 'all users' favorites... : (
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
NT Print server: Should be able to print? 1 620
Windows timing on domain Pcs 4 459
Change port for terminal servers (2000 and 2003) 3 172
Video card with drivers for Windows 2000 8 153
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In order to fulfill our mission of inspiring learning in the technology community, Experts Exchange is launching a Course of the Month program. Premium and Team Account members will have access to one course per month as a part of their membership, …
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question