?
Solved

Windows 2000 internet shortcut to all users

Posted on 2007-04-10
5
Medium Priority
?
200 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 1000 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

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

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…
Check out the latest tech news, community articles, and expert highlights in August's newsletter.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

801 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