Giter Site home page Giter Site logo

wiering / pathfind Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 45 KB

Console application to easily find the location of an executable file on your system

License: MIT License

Pascal 100.00%
console-tool command-line pathfind path find-files executable delphi

pathfind's Introduction

PathFind

PathFind is a simple console program to easily find the location of an executable file on your system, according to the PATH and PATHEXT variables. This can be useful if you have multiple versions of the same program on your computer, for example:

C:\> pathfind make

d:\Borland\Delphi5\Bin\make.exe
C:\FPC\bin\i386-Win32\make.exe

You may also use wildcards:

C:\> pathfind notepad*

c:\windows\system32\notepad.exe
c:\windows\notepad.exe
d:\utils\Notepad2.exe

The files are listed in the order they occur in the PATH, so the top result is the one that would run from the command line.

PathFind also allows the option /L to list the paths in the PATH variable line by line (and optionally search for a string).

C:\> pathfind /L "visual studio"

C:\Program Files\Microsoft Visual Studio 12.0\common7\ide
C:\Program Files\Microsoft Visual Studio 12.0\vc\bin

pathfind's People

Contributors

wiering avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.