Solved

Windows 2000 internet shortcut to all users

Posted on 2007-04-10
5
199 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

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…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

707 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