Page 1 of 1 1
Topic Options
#31285 - 2002-10-23 09:19 PM A Remove, Replace, and Search for a shortcut
clayton_dup1 Offline
Lurker

Registered: 2002-10-23
Posts: 4
First the background...
We have an in house application that is being upgraded and released this weekend. All users have a folder on their desktop that contains links to the exe's which are located on a network drive.
The boss wants the icon for one piece to be removed and replaced with the new executable. The kicker here is that some folks have dragged that icon from the folder to their desktop. Some of these machines may have 5-10 profiles, so I have to be able to search through the profiles as well to see if that link is present on the desktop. If it is, it needs to be deleted and the new executable placed back in the proper folder on the desktop. (I'm hoping all this makes sense!)
Removing the icon from the folder itself shouldn't be a issue, since it falls under the all user's profile--deleted and create shouldn't be a problem there...it's the profiles that I can't get a grasp on how to handle.

Any ideas?

Thanks in advance...
-clayton-

Top
#31286 - 2002-10-23 09:26 PM Re: A Remove, Replace, and Search for a shortcut
Waltz Offline
Seasoned Scripter

Registered: 2002-08-01
Posts: 485
Loc: Waterloo, Ontario, Canada
Try a BB search on 'shortcuts'...

These topics may give you some ideas to get you started...Desktop Shortcuts and Deleting Shortcuts and Creating Shortcuts and Search for a Shortcut
Good luck...

[ 23. October 2002, 21:41: Message edited by: Waltz ]
_________________________
We all live in a Yellow Subroutine...

Top
#31287 - 2002-10-23 10:41 PM Re: A Remove, Replace, and Search for a shortcut
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Just replace the EXE on the old program with a fake bluscreen gag program and wait for the phone to ring. [Big Grin]
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 484 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.085 seconds in which 0.059 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org