Gawk won't run from DOS prompt

Microsoft Windows 7 home premium
July 26, 2010 at 00:05:37
Specs: Windows XP / 7
I've installed gawk for Win32 on two computers, but when I go to the DOS prompt to try to run awk programs, the computer doesn't recognize any commands.

See More: Gawk wont run from DOS prompt

Report •

July 26, 2010 at 00:48:19
how did you run it? did you put gawk.exe into system32? or just some directory you created? If you want to run gawk.exe, use the full path, or just put into system32

GNU win32 packages | Gawk

Report •

July 26, 2010 at 01:33:20
On the XP machine in the office, i put it in my drive H:\GnuWin32\awk.exe

On my own machine (win7) it is in C:\Program Files\GnuWin32\awk.exe

At least on the Win7 machine, it's the path name with a space in it that's tripping me up. I can find awk.exe in windows, but can't maneuver around the C drive in DOS anymore. I tried C:\dir /x but it wouldn't recognize the command.

Report •

July 26, 2010 at 01:53:08
I realize my mistake at least on the XP machine the location is H:\GnuWin32\bin\gawk.exe

Any ideas on how to specify the path in Win 7

Thanks for your help!

Report •

Related Solutions

Ask Question