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

    • Not such a great deal, Ultimate, which gives you full 5080 features is $181.99 CAD per month, that's $2183.88 per year, I can buy the 5080 for $1809.99 CAD, then it goes up to $279.99 per month after the first billing cycle. Typical cloud rental, costs more than buying the hardware.
    • Wow, spoken like a true blind hater, you don't even provide arguments. Please, go check my comment above to @seacaptain and you'll find out why what you say doesn't make sense in this context...
    • Get used to this, with AI tooling now uncovering new vulns and getting them exploitable far faster than has ever been possible before software is going to need to be updated far more frequently. Back in the day it may take reseachers weeks or months to do what AI can now do in hours. Once its a threat is discovered it's weaponsized far more quickly, meaning you simply can't be waiting 2, 3, 4 weeks to deploy a patch, it needs to be patched immediately. Going to be interesting handling this in the enterprise space where traditionally patching has been steady, but very staged (and rightly so up until now), that is going to have to change.
    • You don't need to "close all browser sessions constantly" or wait for updates to install. The updates download in the background while you use the browser, without interrupting you, they install automatically the next time you launch the app. And they install very fast (depending on your storage speeds, of course), you have to wait at most 2-3 extra seconds, if any. Seems like you haven't used Edge in a loooooooong time...
    • Segra 1.6.0 by Razvan Serea Segra is a free, open-source OBS-powered game recorder offering fast gameplay capture, instant clips, AI highlights, deep game integration, and seamless uploads—perfect for gamers, streamers, and content creators. Lightweight, fast, zero bloat. Segra key features: Automatic Game Recording: Begin capturing gameplay the moment your game launches, with zero manual setup. Instant Clipping: Save important moments instantly using a customizable hotkey—perfect for highlights, montages, or quick shares. Segra AI Highlights: Let Segra automatically detect kills, assists, deaths, and key events to generate polished highlight reels without manual editing. Gameplay Uploads: Upload recordings and clips directly to Segra.tv for fast sharing and cloud access. Deep Game Integration: Enjoy advanced game-data tracking across hundreds of supported titles, enabling smart highlight generation and stat-informed clipping. High-Performance Capture: Record up to 4K at 144 FPS using OBS-powered technology with minimal performance impact, supporting NVENC, AMD VCE, and custom quality controls. Segra Editor: Edit recordings easily with timeline controls, segment management, and event-based navigation to build the perfect clip. Customization Options: Adjust hotkeys, output formats, storage paths, codecs, capture quality, and performance settings for a tailored recording experience. Segra 1.6.0 changelog: Recording: Added HDR support. Grand Theft Auto: Added game integration for deaths (FiveM and RAGE MP supported). Highlights: Added customizable padding for highlights. Replay Buffer: Added a shockwave visual effect when a replay buffer clip is saved. Audio: Increased the maximum sound effects volume from 100% to 200%. Hotkeys: Fixed hotkeys not triggering while unrelated keys were held. Installer: Added code signing to verify publisher identity, branded the installer, and reduced OS security warnings. OBS: Updated the supported OBS version to 32.1.2. Download: Segra 1.6.0 | 74.4 MB (Open Source) View: Segra Homepage | Github | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Clizby earned a badge
      One Month Later
    • One Month Later
      Timaximus earned a badge
      One Month Later
    • Week One Done
      Timaximus earned a badge
      Week One Done
    • Rookie
      FBSPL went up a rank
      Rookie
    • First Post
      davidbazooked earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      509
    2. 2
      PsYcHoKiLLa
      175
    3. 3
      +Edouard
      163
    4. 4
      Steven P.
      86
    5. 5
      ATLien_0
      80
  • Tell a friend

    Love Neowin? Tell a friend!