| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| wnexd27jan26.7z | 2026-01-27 | 88.1 kB | |
| READMEnd.md | 2026-01-27 | 3.7 kB | |
| Totals: 2 Items | 91.8 kB | 2 | |
Permalink: https://sourceforge.net/projects/wnexd/files/latest/download
Wnexd
-- Windows "nexd" Directory Utility for Command Prompt users
What's new:
ver 1.0.1 --27jan2026
- Added a correction that allows home directory names with embedded spaces.
ver 1.0.0 --24may2022
- Initial release
Wnexd Description
Tiny adjunct to the Windows-intrinsic pushd/popd utilities for users of the Command Prompt terminal window that simulates a linux-style "pushd +1", and "dirs".
Features
- Allows round-robin traversal (in either direction) of directories in the "pushd" stack
- Runs in Windows 10 & 11 Command Prompt Windows
- Lightweight & simple
- Adds 3 new commands that work with the Windows-intrinsic pushd, popd:
- nexd moves to the Next directory in queue [like 'pushd +1']
- pred moves to the Previous directory in queue [like 'pushd -1']
- dirs displays contents of the directory queue [like 'dirs']
(Not designed or tested for use in PowerShell !)
Setup wnexd using doskey command:
Download the 7Z archive into your Windows %HOMEPATH% directory.
Unzip the archive.
- 7z [www.7-zip.org] works well for this. The proper command to extract the archive and maintain the directory structure is "7z x filename".
After the archive is unzipped...
Ensure the .\wnexd\ directory is under your home directory. Then "cd wnexd". Finally, execute "ndprep.bat" to make the new commands available. It uses "doskey" to add three commands: nexd, pred, dirs:
- doskey nexd="%HOMEPATH%"\wnexd\nexd.bat
- doskey pred="%HOMEPATH%"\wnexd\pred.bat
- doskey dirs="%HOMEPATH%"\wnexd\dirs.bat $1
Usage
- dirs : displays stack
- dirs -c : clears the stack
- nexd : moves to the next directory in the stack [without popping it]; similar in function to linux "pushd +1";
- pred : moves to the previous directory in the stack [without popping it]; similar in function to linux "pushd -1";
Note that the intrinsic pushd & popd still work as before. This means you must use pushd to "load" the directory stack as normal. The difference is that now you can use the directory stack as if it were a bidirectional queue.
What is special about this utility?
- Allows using a single Command Prompt window when working with several related directories.
- A simple way to enable additional pushd functionality. And, except for the quirky syntax of BAT scripts, the logic is reasonably transparent.
- It cooperates with the intrinsic pushd/popd Windows commands with no change to their functionality.
It suits me as a windows developer [using Ada] to facilitate my edit-compile-run sequence. Maybe you will find some similar utility.
Open source developers are welcome to help improve or extend this utility. Developer or not, send comments, suggestions or questions to: fastrgv@gmail.com
License:
This utility is covered by the GNU GPL v3:
Copyright (C) 2026 fastrgv@gmail.com
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You may read the full text of the GNU General Public License at http://www.gnu.org/licenses/.