DontLose (DL) is a fast and lightweight command-line utility for Windows designed to recursively find files by name. If you're tired of the slow default search or complex commands, DL will become your go-to tool. Just type DL <filename> and instantly get a list of all matches in the current directory and its subfolders.
This utility is perfect for developers, system administrators, and anyone who works extensively with the command line and wants to save time.
DL.work.mp4
- ⚡ Lightning-Fast Search: Recursively scans directories at high speed.
- 🔎 Case-Insensitive: It doesn't matter if you type
Document.txtordocument—DL will find it. - 🎨 Colored Output: Results are highlighted for better readability: green for success, red for errors.
- 🔗 Clickable Paths: Outputs full file paths that become clickable in modern terminals (like Windows Terminal and VS Code).
- 🚫 Safe & Secure: The program safely skips directories it doesn't have permission to access, avoiding permission errors.
You can install DontLose in two ways: automatically (not created yet) or manually.
If you prefer to have full control, follow these steps:
- Create a Folder: Create a dedicated folder on your drive to store the utility, for example:
C:\Tools\DL. - Copy the File: Copy
DontLose.exeinto the folder you just created and rename it toDL.exe. - Open Environment Variables Settings:
- Press
Win + Rand type "sysdm.cpl". - In the window that opens, click the "Environment Variables..." button.
- Press
- Edit the
PathVariable:- In the "User variables" section (the top box), find and select the
Pathvariable. - Click "Edit...".
- In the "User variables" section (the top box), find and select the
- Add the New Path:
- Click "New".
- Paste the path to your folder (e.g.,
C:\Tools\).
- Save Changes: Click "OK" on all the windows you opened.
- Restart Your Terminal: Just like with the automatic method, close and reopen any command prompt windows.
You are now ready to go!
DL.install.mov
Once installed, you can call the utility from any directory.
To find a file:
Once installed, you can call the utility from any directory.
This is a Visual Studio project.
- Clone the repository:
git clone https://github.com/LightningShine/DontLose.git - Open the
DontLose.slnfile in Visual Studio. - Select your build configuration (e.g.,
Release). - Press
F7or go toBuild > Build Solution. - The
DontLose.exeexecutable will be located in thex64\Releasefolder (or similar).
This project is licensed under the MIT License. See the LICENSE file for details.# DontLose