Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Windows "nexd" Directory Utility for Command Prompt users

License

NotificationsYou must be signed in to change notification settings

fastrgv/Wnexd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Examplescreenshot


Simply click on this 7z file to download all Windows source files (bat scripts):https://github.com/fastrgv/Wnexd/releases/download/v1.0.0/nexd.7z


Wnexd

-- Windows "nexd" Directory Utility for Command Prompt users


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 of directories in the "pushd" stack
  • Runs on Windows 10
  • 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']

Setup wnexd using doskey command:

Either copy the ./wnexd/ directory, or download the latest release (7Z file) and unzip it, in your %HOMEPATH% directory.

Executing "ndprep.bat" file will 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";

What is special about this utility?

  • It can preclude the need to open multiple Command Prompt windows when working with several related directories.
  • It is 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 totheir functionality.

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 as indicated in the sources:

Copyright (C) 2022fastrgv@gmail.com

This program is free software: you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe 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 ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See theGNU General Public License for more details.

You may read the full text of the GNU General Public Licenseathttp://www.gnu.org/licenses/.

About

Windows "nexd" Directory Utility for Command Prompt users

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp