Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Windows 2000 internet shortcut to all users

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Working from home is a dream for many people who aren’t happy about getting up early, going to the office, and spending long hours at work. There are lots of benefits of remote work for employees.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

609 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