PDA

View Full Version : Application Defragmenter Tweak!


Emerson222
05-25-05, 09:28 PM
Defining the process of Application Defragmenter:
-----------------------------------------------
This type of defragmenter pushes all commonly used programs and boot files to the edge of the hard drive, which yield faster access for the boot files and commonly used programs. Windows XP normally schedules this every three days, but if you do not let your computer idle very often, it's a good idea to use this tweak (Defragmenter).

-------------------------------------------------------------------------

How to use:
-----------
I have two ways of making this program work. The first way, which I think is the easiest way, is to just type "Defrag C: -b" in Run (DOS).

The other is more complex, but saves you time.

Open Notepad or Wordpad..

Type: "cmd /c start /Normal Defrag C: -b.exe" in Notepad or Wordpad

Save the file as a .BAT file and close Notepad or Wordpad.

As soon as you click the .BAT file you created, the Application Defragmenter will start up.

(You're done)

--------------------------------------------------------------------------

Now, if you do not use the C drive as your main hard drive, or you want to do an Application Defrag to your secondary Drive. Replace "C" with your secondary hard drive's letter.

For Example,

Open Run, which is in the start menu.

Type in, "Defrag D: -b".

And you're done. :thumb:

--------------------------------------------------------------------------

1badtech
05-27-05, 12:01 AM
Great tip. Here's a link that shows how to properly defrag the page file.

http://www.theeldergeek.com/defragmenting_a_page_file.htm


Defining the process of Application Defragmenter:
-----------------------------------------------
This type of defragmenter pushes all commonly used programs and boot files to the edge of the hard drive, which yield faster access for the boot files and commonly used programs. Windows XP normally schedules this every three days, but if you do not let your computer idle very often, it's a good idea to use this tweak (Defragmenter).

-------------------------------------------------------------------------

How to use:
-----------
I have two ways of making this program work. The first way, which I think is the easiest way, is to just type "Defrag C: -b" in Run (DOS).

The other is more complex, but saves you time.

Open Notepad or Wordpad..

Type: "cmd /c start /Normal Defrag C: -b.exe" in Notepad or Wordpad

Save the file as a .BAT file and close Notepad or Wordpad.

As soon as you click the .BAT file you created, the Application Defragmenter will start up.

(You're done)

--------------------------------------------------------------------------

Now, if you do not use the C drive as your main hard drive, or you want to do an Application Defrag to your secondary Drive. Replace "C" with your secondary hard drive's letter.

For Example,

Open Run, which is in the start menu.

Type in, "Defrag D: -b".

And you're done. :thumb:

--------------------------------------------------------------------------

Andrzej
05-27-05, 04:12 AM
:D interesting

FYI PerfectDisk does this for me

BTW fortunately there are several ways to start a prg(s) in winOS(s)
or prompt access any prg(s) also Microsoft Management Console (*.MSC)
e.g.
A text editor prg with hyperlink support can be used.
So replace (or not) Microsoft Notepad with any mentioned.
MetaPad3'5 is recommended http://liquidninja.com/metapad/mpad35.zip dwl
One can run from any place, without install,
but for recommended replacement in : w2k; wXP
see instruction http://liquidninja.com/metapad/faq.html#Q3 etc

In front of FilePath is added file:// (BTW in my case [Alt+4] in MetaPad)
to create hyperlink.
{see below prompt obtain a file path in the file context menu}
double click the hyperlink (*.exe; *.bat; *.ink etc) means access the prg :
Defrag file://C:\WINNT\system32\dfrg.msc
DiskMgt file://C:\WINNT\system32\diskmgmt.msc
Services&more file://C:\WINNT\system32\Com\comexp.msc
DeviceMgt file://C:\WINNT\system32\devmgmt.msc
also
CleanMgr file://C:\WINNT\system32\cleanmgr.exe
Calc file://C:\WINNT\System32\calc.exe
etc
Pay attention in this hyperlink method the FilePath
cannot has any [spacebar] and|or prg's switches
so if you receive file path similar to below :
C:\Program Files\Microsoft Office\Office\WINWORD.EXE
or prg with switches
in both cases in ShortP dir *.lnk can be created
and the hyperlink as file://C:\ShortP\MSWord.lnk should be used

BTW
>>> Access to FilePath in file context menu (the file + right click mouse)
'Manual transmission' method or X-setup can be used
[HKEY_CLASSES_ROOT\*\Shell\CMD1]
@="FilePath"
[HKEY_CLASSES_ROOT\*\Shell\CMD1\Command]
@="C:\\WINNT\\system32\\DIRLIST.BAT \"%1\""

>>> C:\WINNT\system32\DirList.bat
'Manual transmission' method
rem file://C:\WINNT\system32\DirLIST.bat
dir %1 /s /-p /o:gn /b > "%temp%\Ltd{&%date:~8,2%%date:~10,4%}"
start /w notepad.exe "%temp%\Ltd{&%date:~8,2%%date:~10,4%}"
del "%temp%\Ltd{&%date:~8,2%%date:~10,4%}"

FYI the post was created with MetaPad3'5 & spell checked by Word 2k

Emerson222
05-27-05, 07:19 PM
Haha, thanks. I am happy you liked the tweak. And thanks for your great comments! :D

Andrzej
06-04-05, 07:34 AM
:D Emerson222 OK
IMVHO time to next step
FYI sorry to say
unfortunately I'm TOOooo(etc) lazy
to use FilePath from ‘file context menu’ for creation my hyperlink
more often ListDir from ‘directory context menu’ is used by me

[HKEY_CLASSES_ROOT\Directory\shell\ListDir]
[HKEY_CLASSES_ROOT\Directory\shell\ListDir\command]
@="C:\WINNT\system32\DirList.bat \"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\ListDir]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\shell\ListDir\command]
@="C:\WINNT\system32\DirList.bat \"%1\""

in both cases (directory & file context menu) the same file
C:\WINNT\system32\DirList.bat
are used

:2cool: BTW as a rule all the listing is saved
but only few hyperlinks are activated for me

OTOH the same listing efect is if
@="C:\WINNT\system32\DirList.bat \"%1\""
from file context menu
is repleaced by
@="C:\WINNT\system32\DirList.bat"

hehehe

Emerson222
06-05-05, 03:54 AM
Lol!

Well, I found a great program, it's called, "PerfectDisk 7.0".

I'd recommend PerfectDisk 7.0 to anyone, who wants a major performance increase. PerfectDisk 7.0 is much better than the new defragmenter microsoft just released, that's if you ask me.

(Disk Defragmeter 9.0) = Microsoft's new product.

I suggest buying "PerfectDisk 7.0". :D :D :D :D

Anyone disargee with me?

Download "PerfectDisk 7.0" at http://www.raxco.com/