lionello / fart-it

Find And Replace Text command line utility. New & improved version of the well-known grep command, with advanced features such as: case-adaption of the replace string; find (& replace) in filenames, auto CVS edit.
133 stars 27 forks source link

'FART' is not recognized as an internal or external command, operable program or batch file. #26

Open FatMax1492 opened 2 months ago

FatMax1492 commented 2 months ago

I'm getting the above issue.

I've just downloaded the windows exe, ran it, and tried a command. I'm a bit of a noob when it comes to terminal. I figured it might have something to do with the environment variables but idk

Tried on two machines. W10 Home and W10 Pro.

Also both "fart" and "FART"

boekabart commented 2 months ago

You need to move the .exe to a location that is in the systems' PATH, or you can reference its full location. eg. if you download to c:\tools\ , you type c:\tools\fart *.log ERROR.

You can use sysdm.cpl to edit the PATH variable, for example, to add the c:\tools folder . Then start a new terminal to activate that.