If you've installed in c:\gnuwin32\bin, why add "C:\Program
Files\GnuWin32\bin" to %PATH%? You should append the directory where you
installed: PATH=%PATH%;C:\GnuWin32\bin in your case.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you don't like to edit the PATH variable manually there is a small
`Pathtool.exe' utility program that comes along with the (non-Gnu) ImageMagick
package. How did you install the Gnuwin package, using the Windows installer
or by unpacking a .zip file? The Windows installer lets you specify where you
want to install the package.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Also only command windows opened after the system PATH environment variable
has been changed will search the new system PATH. It is not always a good idea
to modify your system PATH. If you installed gnuwin32 packages using the
GetGnuWin32 downloader you might consider instead using the provided shortcut
that will open a command window with your gnuwin32\bin directory first in the
PATH. This allows you a dedicated command window that will run gnu sort
instead of microsoft's, for example. You can find the gnuwin32 shortcut in
your start menu or in C:\gnuwin32\Start Menu.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Running on a PC. Download gnuwin32. in the C:/gnuwin32/bin I see the command I
want to use. It is cat.exe
I added the following environment var to System Properties -variable name PATH
;C:\Program Files\GnuWin32\bin
When I cd to my desktop and try and run the comand cat mytest.html >
mynew.html
I get the following error: 'cat' is no recofnized as an internal or external
command, operable program or batch file.
How do I make this command and the others (e.g. ls) available from any
directory.?
If you've installed in c:\gnuwin32\bin, why add "C:\Program
Files\GnuWin32\bin" to %PATH%? You should append the directory where you
installed: PATH=%PATH%;C:\GnuWin32\bin in your case.
If you don't like to edit the PATH variable manually there is a small
`Pathtool.exe' utility program that comes along with the (non-Gnu) ImageMagick
package. How did you install the Gnuwin package, using the Windows installer
or by unpacking a .zip file? The Windows installer lets you specify where you
want to install the package.
Also only command windows opened after the system PATH environment variable
has been changed will search the new system PATH. It is not always a good idea
to modify your system PATH. If you installed gnuwin32 packages using the
GetGnuWin32 downloader you might consider instead using the provided shortcut
that will open a command window with your gnuwin32\bin directory first in the
PATH. This allows you a dedicated command window that will run gnu sort
instead of microsoft's, for example. You can find the gnuwin32 shortcut in
your start menu or in C:\gnuwin32\Start Menu.