Novell Home

DesktopClean 2.5

Novell Cool Solutions: Cool Tool

Rate This Page

Reader Rating  stars  from 13 ratings

Digg This - Slashdot This

In Brief

Scans local desktop, moves files to a specified network path, then creates shortcuts to moved files on desktop.

Vitals

Product Categories:
  • Open Enterprise Server
  • ZENworks
  • Functional Categories:
  • Backup/Restore
  • Cleanup
  • Workgroup
  • Updated:10 Oct 2007
    File Size:474KB
    License:Free
    Download:/coolsolutions/tools/downloads/DesktopClean.zip
    Publisher:Bryan Keadle

    Disclaimer

    Please read the note from our friends in legal before using this file.


    Details

    We have found that many of our desktop users (despite our warnings) continue to place files/folder on their desktop instead of shortcuts *to* those files/folders. We explain that files stored on their local computer are not backed up...and anything that is important should be saved to the network (which is backed up nightly). Additionally, for people that have roaming profiles, "carrying around" their desktop files makes for large profiles and thus slowing down their login/logout times.

    To help remedy this situation, I wrote this utility, DesktopClean.exe, that will scan the local desktop folders (the user's profile and the All Users profile), and *MOVE* any non-shortcut files ( *.lnk, *.nal, *.pif, *.txt ) to a specified network path, then create shortcuts to those moved files onto their desktop.

    If files were found to be moved, an additional shortcut will be created on the desktop

    ...which will prompt them with this "reminder":

    This can be manually run as needed, or launched during the login process.

    10-10-07 Update:

    SYNTAX: Desktopclean (Network_Path) [ NOTIFY | QUIET | VERYQUIET | NOINFO]

    Clean user's desktop of non-shortcut items. Specify the path (Network_Path) to where items should be moved, for example:

    DesktopClean  "H:\Moved from Desktop"
    • NOTIFY - If files were found to move, display notification message box
    • QUIET - Do not display file move progress window
    • VERYQUIET - Do not display ANY dialogs
    • NOINFO - Do not create an INFO desktop shortcut after cleaning

    To display a custom message for the information shortcut that is created if items are found to be moved, simply create a .TXT file of the same name and in the same directory as the executable, EG:

    DesktopClean.TXT.

    Use the variable, %NetDir%, within the text file and it will be replaced with the directory name where the files were moved to.

    10-4-05 Update: I had a Czech request a modification to DesktopClean in order to accommodate the different language name for "Desktop"...which is "Plocha" by the way. So, this update refers to the registry for the name of the desktop folder instead of it being hard-coded.

    10-6-05 Update: URLs are now excluded from being moved.

    12-15-05 Update: - Verifies destination has enough room for the move. If not, it will throw up a Warning message (for each file/directory it couldn't move) that will time out after 5 seconds if no response. To suppress these messages, you can use the QUIET parameter. Also, there is a VERYQUIET parameter that will suppress all message windows.
    - Has a file copy progress meter for large file/directory moves.
    - When moving same-named directories or files, the destination directory and/or file, will be "generationally renamed" before the desktop copies are moved, resulting in something like this:

    This way, the same shortcut created on the desktop will still correctly point to the most recent file/directory that was moved. Previous "versions" of the moved file/directory are generationally renamed, *.--1, *.--2, *.--3, etc. with *.--1 being the most recent, *.--3 being the oldest.

    Comments and suggestions welcomed: bkeadle@keadle.net

    (NOTE FROM AUTHOR: Thanks to Debbie Carraway for her valuable suggestions and excellent testing!)

    (NOTE FROM AUTHOR: Thanks to Russell from New Zealand for making DesktopClean even better!)

    Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

    Reader Comments

    • Whoa - sweet app
    • very cool - does it do My Documents folder too?
    • Brilliant idea!
    • Swai! It would be nice to see an "UNDO" feature added in a later release.
    • Not used this yet - but there is potential scope for implementing it in some form of capacity within my organisation - excellent idea.
    • Great tool. How about using an ".ini" file for custom configuring. For example what if I want to move .doc file but not .mdb file? Just a thought, I Love it and might use it a home to save my wife and kids.
    • I'm not really rating this tool at this moment, it does look extremely usefull though. But before I test it and roll it out on my network there is one thing I would like to know: Would it be possible to have that dialogue messagebox text in a text- or inifile, or any other way that would make it possible for me to translate the message into the language spoken here? (Dutch) I searched the executable with ResHacker, but no luck there
    • Desktop Clean is fantastic and simple to use! Roaming profiles were an administrative nightmare. Now our Department users can continue using the desktop and be assured their data is being moved to the network for backup. Using %COMPUTERNAME% in the path creates multiple desktop folders on the network allowing them access to desktop information from any computer. Great support Bryan, Thanks!!! Russell Phillips (Technical Officer, University of Otago)

    © 2008 Novell, Inc. All Rights Reserved.