Results 1 to 3 of 3

Thread: 2000

  1. #1
    3 Star Lounger
    Join Date
    Sep 2002
    Posts
    294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    2000

    We have windows2000 on our business network, but i don't have admin rights.

    My problem, is that i want to place a shortcut on around 100-120 PC's

    I want the shortcut to be placed by a batch file driven from Lotus notes.

    now, i know how to do this, and i can do it for myself no problem. the batch file is a simple
    copy process, from the company shared drive to the local persons desktop.

    my problem comes with my network log on, which is a number, eg: 79685

    so in my batch file, to place the desktop on just my desktop, the path has to include that number

    /79685/desktop/shortcut.lnk

    I can't use the 'All users' directory, because thats admin only....

    so is there a way to get this number from a dos batch file ? or is there another way of doing it ???

  2. #2
    Super Moderator
    Join Date
    Dec 2000
    Location
    Renton, Washington, USA
    Posts
    12,560
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Re: 2000

    If you have this many machines to do this to, you should have some one with the Admin rights run this batch file and add it to the "Allusers" folder.. Also this will help them "the IT" people know when they rebuild any system, that this tweak needs to added to the rebuit or NEW system.

    This is a major problem that IT people have, lower levels of support are not telling them (IT support) of your local requirements. Then when something goes wrong they can help trouble shoot it.

    Now running HP Pavilion a6528p, with Win7 64 Bit OS.

  3. #3
    3 Star Lounger
    Join Date
    Sep 2002
    Posts
    294
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: 2000

    Thanks for the suggestions Dave, but unfortunately, that wouldn't work.

    the batch file is in a lotus notes email. the user would click on it to run it, but the user only has access to his path, not the all users path
    and when an admin logs on, although they do have access to everything, they cant run a batch file to place the shortcut in every user, because they would have no idea who has to recieve it.

    hmmmm although i've had another idea.


    looking at the msdos batch commands, i'm pretty sure that you can make a batch file do something with an option from running

    dos>

    so if the user typed IN their Enumber..

    dos> givemeshortcut e79685

    that second variable can be passed usinga %1 command

    the givemeshortcut command is on the shared drive.. so as long as its in the PATH..

    sigh


    why is life so complicated? <img src=/S/brainwash.gif border=0 alt=brainwash width=15 height=15>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •