How to Use DIRMS


Recommended Posts

What is Dirms?

Dirms stands for Do It Right Microsoft. Dirms is a command line hard drive defragmenter, it has no bulky gui and runs in the background with no interfence at all. It makes a much better job then any other defragmenter i've seen but so many people have not heard of this. You have now!

Download

You can download dirms here.

Download

How to Use

Dirms is easier than i thought it would be.

Simply download the exe file and place it into the root of the c:\ drive.

1 : Start - Run - Type "cmd" without quotes.

15ob.jpg

2 : Now type "cd c:\" That changes our directory to the c drive.

3 : The help file for dirms can be found by typing this command "dirms /?"

25ua1.jpg

4 : To defragment my c drive I would type the following "dirms c -q" Press enter and watch it go.

31mm.jpg

The -q switch means to move the file fast. Well thats my guide on dirms. Other switches and functions can be found with dirms /? I hope you love the big performance gain at the end, I certainly did!

dirms <drive letter> [DEFRAG, COMPACT, COMFRAG <filename>, MOVE] [-q]
[COMFRAG PARAMS = filename]
[MOVE PARAMS = LCN, DATE]
-q means do it quickly, don't wait until the free space bitmap is updated.

BLUE -  the command	 Black -  the explanation


dirms c -q   :  Do free space evaluation, defragment, and quickly move files to the front of the drive 
dirms c DEFRAG -q : Defragment files only 
dirms c CoMpAcT -q : C ompact only 
dirms c COMFRAG -q : Perform partial compaction (quickly) on all fragmented files 
dirms c COMFRAG c:\filename.exe   : Perform partial compaction on one file 
dirms c move date -q : Move files according to modification dates, and do it quickly
dirms c move lcn : Try to free space at the bottom of the drive (moves files toward the front of the drive)

Edited by Popcorned
Link to comment
https://www.neowin.net/forum/topic/433512-how-to-use-dirms/
Share on other sites

There is no way in hell I would trust a random EXE file posted on a public forum to defragment my files. God only knows who wrote it or how much they know about programming, algorithms, file systems, or any other relative topic.

Why is there a "slow mode"? :huh: Every feature or "mode" of any software application has its pros and cons; there must be some pros to this slow mode that the fast mode doesn't have... What are they?

This is the VBS script I use to defrg all my hard drives, it uses the built in MS defrag, I have it set to be min

size.

  Const Hidden = 0, Normal = 1, Min = 2, Max =3
  Dim Act : Set Act = CreateObject("Wscript.Shell")
  Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject")
  Dim Df : Set Df = Fso.Drives
   For Each strDf in Df
	If strDf.DriveType = 2 Then
	Act.Run("Defrag " & strDf & "\  -F"),Min,True
	End If
   Next
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I agree when are you going to read this (really poor BTW) article? Here is a better article so you actually know what is going on and answers questions you had in other comments --> https://arstechnica.com/gadgets/2026/05/speed-boosting-low-latency-profile-is-one-of-the-improvements-coming-to-windows-11/ It is unclear if one will be able to disable the new profile at this point but I am not seeing any reason why one would.
    • I disagree; they come off very "bitchy" and "whiny". Make a great product and combine that with a great price (free) and people will come over to your side. Or build it and they will come as they say. Constantly trying to get attention by complaining all the time, will turn people off to your product.
    • It use to be a nightmare, with LibreOffice supporting a newer draft ODF standard by default, and Microsoft Office supporting the older non-draft standard. Now that they both support the same version of ODF, they should be interoperable.
    • Brave Browser 1.91.171 by Razvan Serea Brave Browser is a lightning-fast, secure web browser that stands out from the competition with its focus on privacy, security, and speed. With features like HTTPS Everywhere and built-in tracker blocking, Brave keeps your online activities safe from prying eyes. Brave is one of the safest browsers on the market today. It blocks third-party data storage. It protects from browser fingerprinting. And it does all this by default. Speed - Brave is built on Chromium, the same technology that powers Google Chrome, and is optimized for speed, providing a fast and responsive browsing experience. Brave Browser also features Brave Rewards, a system that rewards users with Basic Attention Tokens (BAT) for viewing opt-in ads. This innovative system provides an alternative revenue model for content creators and a way to support the Brave community. SlimBrave Neo takes all the good things about Brave and makes them even better by keeping everything clean, light, and privacy-focused. It removes the extra clutter, turns off features you might not need, and cuts down on anything that could slow you down or collect unnecessary data. Because it relies on simple settings and policies instead of modifying the browser itself, you still get full Brave compatibility—just in a smoother, lighter, and more privacy-friendly package. Brave Browser 1.91.171 changelog: General Fixed Cardano not being disabled on upgrade to Brave Origin. Upgraded Chromium to 149.0.7827.103. Origin Removed “Survey Panelist” setting from brave://settings/privacy. Fixed P3A and usage ping under brave://settings/privacy being displayed on first launch on Linux. Upgraded Chromium to 149.0.7827.103. Download: Brave Browser 64-bit | 1.2 MB (Freeware) Download: Brave Browser 32-bit View: Brave Homepage | Offline Installers | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Hi. As the title suggests, I can't access the forum on my phone. I'm using Edge on Android and when I try to navigate to the forum I get a "we value your privacy" popup and none of the buttons are clickable. It effectively stonewalls me from reading any forum content.
  • Recent Achievements

    • One Month Later
      Jamswaz earned a badge
      One Month Later
    • Week One Done
      Jamswaz earned a badge
      Week One Done
    • Rookie
      Marzoid went up a rank
      Rookie
    • Community Regular
      coch went up a rank
      Community Regular
    • One Year In
      slackerzz earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      518
    2. 2
      PsYcHoKiLLa
      190
    3. 3
      +Edouard
      156
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!