Results 1 to 9 of 9

Thread: Deleting Desktop Icons In Windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Deleting Desktop Icons In Windows

    Hi ALl

    Is there any function in SetupBuilder that will allow me to delete old
    desktop icon shortcuts from the repository held in windows?

    Quite desperate for this sort of function or program I can call to do it.

    Cheers
    Andre

  2. #2

    Default Re: Deleting Desktop Icons In Windows

    Hi Andre,

    I use this line in SB:

    Run Command Line ("ie4uinit.exe -ClearIconCache")

    See "Refresh icon cache without rebooting":
    http://superuser.com/questions/49907...hout-rebooting

    Perhaps you can use this info.

    Best regards,
    Jeffrey

  3. #3

    Default Re: Deleting Desktop Icons In Windows

    Hi Jeffrey

    That is exactly what I was looking for. Yo have obviously used this
    before and it works. I am going to try this at execute programs. or
    should it be modify system? Where do you insert it?

    Cheers
    Andre

  4. #4

    Default Re: Deleting Desktop Icons In Windows

    Hi Andre,

    I use this at the end of my SB script.
    So first SB creates a Desktop shortcut (to MyApp.exe).
    After that I run the command line to refresh the desktop in order to
    show the current icon of the shortcut on the Desktop.

    Best regards,
    Jeffrey

  5. #5

    Default Re: Deleting Desktop Icons In Windows

    > I use this at the end of my SB script.
    > So first SB creates a Desktop shortcut (to MyApp.exe).
    > After that I run the command line to refresh the desktop in order to
    > show the current icon of the shortcut on the Desktop.

    Thanks - it does seem to work very well indeed. I can also add and
    remove desktop icons at will from within any app now. I may include
    this dos command somewhere as well. There is an excellent batch file
    explained at the end of that thread you posted. Virtualization may have
    an impact here as the iconcache.db file seems to be unique to each user.
    I am having a look at that as well.

    Andre Labuschagne

  6. #6

    Default Re: Deleting Desktop Icons In Windows

    Andre,

    > an impact here as the iconcache.db file seems to be unique to each user.

    As I mentioned in your other thread, but to Charles, it is...

    C:\Users\<user name>\AppData\Local\IconCache.db

    --
    Lee White

    RPM Report Viewer.: http://www.cwaddons.com/products/rpm/
    Report Faxing.....: http://www.cwaddons.com/products/afe/
    ---Enroll Today---: http://CWaddons.com

    Creative Reporting: http://www.CreativeReporting.com

    Product Release & Update Notices
    http://twitter.com/DeveloperPLUS

    Windows 8 brings us "The Oval, Bumper Car, Roller Coaster of Wait!"
    And, now, Windows 10 brings us "The Inch Worm, Bumper Car of Wait!"

  7. #7

    Default Re: Deleting Desktop Icons In Windows

    > Andre,
    >
    >> an impact here as the iconcache.db file seems to be unique to each user.
    >
    > As I mentioned in your other thread, but to Charles, it is...
    >
    > C:\Users\<user name>\AppData\Local\IconCache.db
    >

    That is what Jeffrey is referring to and what I am talking about.

    Andre Labuschagne

  8. #8

    Default Re: Deleting Desktop Icons In Windows

    Glad I could help you!

    Best regards,
    Jeffrey

  9. #9

    Default Re: Deleting Desktop Icons In Windows

    Thanks - it certainly deals with potential rogue icon issues.

    Andre Labuschagne

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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