Adding Unfrag to right click

Hi All,

Just got a new laptop and want to add Unfrag to the right-click options in explorer like I had on my previous machine.

Somebody posted the method to do this a few years back but I can't quite remember it. I thought I had the tip stored somewhere but cant seem to find it.

Any help appreciated.

Regards Olaf

Reply to
Olaf Diegel
Loading thread data ...

--------------------------------- Steve Tietz posted the tip in April of 2003. It went like this:

Here is a trick I have been using for quite some time for a right click menu of ecosqueeze This came from some help from the maker of ecosqueeze -- however has been tweaked alittle from his original suggestion to allow for all three options.

Create the below registry file to add three new right mouse button menus the menus will allow users to right mouse click on a drive or directory they wish to reduce the file sizes of & choose ecosqueeze. This saves users from having to browse for the path to the directory.

Cut & paste of the registry file: --------------- Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\EcoSqueeze\command] @="\"C:\\Program Files\\EcoCom\\EcoSqueeze\\EcoSqueeze\" /p:%1 /s /r /t /v /e:*.sld*;*.do*;*.xl*" [HKEY_CLASSES_ROOT\Drive\shell\EcoSqueeze\command] @="\"C:\\Program Files\\EcoCom\\EcoSqueeze\\EcoSqueeze\" /p:%1 /s /r /t /v /e:*.sld*;*.do*;*.xl*" [HKEY_CLASSES_ROOT\Directory\shell\EcoSqueeze Remove Display List\command] @="\"C:\\Program Files\\EcoCom\\EcoSqueeze\\EcoSqueeze\" /p:%1 /s /r /t /v /L /e:*.sld*;*.do*;*.xl*" [HKEY_CLASSES_ROOT\Directory\shell\EcoSqueeze Remove Preview\command] @="\"C:\\Program Files\\EcoCom\\EcoSqueeze\\EcoSqueeze\" /p:%1 /s /r /t /v /i /e:*.sld*;*.do*;*.xl*"


to recreate reg file copy & paste the above into a next text file & save. Then rename the text file to Ecoqueeze.reg, then double click it.

I also use a modified shortcut Icon to allow drag & drop functionality as the above reg file only works when rmb clicking on a drive or directory. so this new desktop icon can be used as a drag & drop target. by simply dragging a single file from its current location ontop of this icon then ecosqueeze will work only on that particular file from its current location.

To modify the shortcut icon: 1. right click the icon & go to properties 2. then cut & paste the below into the TARGET line --------------- "C:\Program Files\EcoCom\EcoSqueeze\EcoSqueeze.exe" /s/r/t/v/e:*.sld*;*.do*;*.xl*/p:

Hope this helps someone

Thanks, Steve Tietz

------------------ Best regards, 'Sporky'

Reply to

Thanks Sporky,

Found the following little script, specifically for Unfrag, shortly after posting... Here it is in case anyone needs it.

Just save to a text file and rename it to unfrag.reg and then double click it.

Cheers Olaf


[HKEY_CLASSES_ROOT\Folder\shell\unfrag] @="Unfrag" [HKEY_CLASSES_ROOT\Folder\shell\unfrag\command] @="C:\\Program files\\Unfrag\\Unfrag.exe \"%1\" /R /C" [HKEY_CLASSES_ROOT\Folder\shell\unfrag2] @="Unfrag incl. Subfolders" [HKEY_CLASSES_ROOT\Folder\shell\unfrag2\command] @="C:\\Program files\\Unfrag\\Unfrag.exe \"%1\" /S /R /C" [HKEY_CLASSES_ROOT\SldPart.Document\shell\unfrag] @="Unfrag" [HKEY_CLASSES_ROOT\SldPart.Document\shell\unfrag\command] @="C:\\Program files\\Unfrag\\Unfrag.exe \"%1\" /R /C" [HKEY_CLASSES_ROOT\SldAssem.Document\shell\unfrag] @="Unfrag" [HKEY_CLASSES_ROOT\SldAssem.Document\shell\unfrag\command] @="C:\\Program files\\Unfrag\\Unfrag.exe \"%1\" /R /C" [HKEY_CLASSES_ROOT\SldDraw.Document\shell\unfrag] @="Unfrag" [HKEY_CLASSES_ROOT\SldDraw.Document\shell\unfrag\command] @="C:\\Program files\\Unfrag\\Unfrag.exe \"%1\" /R /C"

Reply to
Olaf Diegel

Here´s my older post, I´d recommend Ecosqueeze over unfrag, ecosqueeze don´t modify the date of the file...

Hi all,

Since there seems to be so many people using ecoSqueeze, I decided to repost here my "addins" for ecosqueeze. They are actually a

registry files that adds two options to your explorers shell... yes there is shell option on ecosqueeze but it kinda limited. So

I wrote these:

formatting link
is the one you need)

So with rightclicking either on a folder or on a Drive you have two options on your shell:

EcoSqueeze (EcoSqueezes only the selected folder EcoSqueeze with subfolders (Ecosqueezes the selected folder & subfolders)

Installing is easy, just double click the installx.reg files (x marks the 1 & 2... 1 is for the ecosqueeze command and the 2 is for the subfolders command)

You can change those commands behavior by opening the reg files to your notepad and checking the commandline switches... Mayby

it´s best that you do it anyway to see if the setup is what you like. These are my preferred setting on the files. remember to do

the same modifications also to the uninstall files. This way, if you don´t like the shell extensions you can easily get rid of them.

also a little side note. by changing the name of the key (xeco_X), you can alter the commands position on the rmb shell menu

(it´s organized alphabetically)

Hope these help you

.oO Arto Kvick Oo.

here´s the commandline switches also... hope that it´s OK.

The command line switches:

/p: Path, i.e.. /p:e:\Data\SolidWorks\New Files Don't add "" even if you path contains blanks /e: File extensions to defragment, i.e. .sld*;.doc;*.xl* /s Include subfolders /r Don't change the file's date and time stamp /v Verify (extra-save defragmenting, time consuming) /w Wait (displays the EcoSqueeze window and waits for the user to click on start) /t Delete temporary files. During defragmenting Windows creates numerous temporary files. If you want them to be deleted

after the defragmentation process is complete add this switch.

/i Remove SolidWorks preview image /L Remove SolidWorks display list /a Remove Parasolid stream

Example call with command line parameters: D:\Programs\EcoSqueeze\EcoSqueeze.exe /p: e:\Data\SolidWorks\New Files /e:*.sld* /s /r /v /t

Reply to

Reply to
Olaf Diegel

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.