![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How run "C:/path> ghc haskellfile.hs" ? What do I need to do to be able to run things like: "C:/path> ghc haskellfile.hs" from the command prompt? ghc is the Haskell compiler. I often see this with pyhton pythonfile.py too etc. normally that is on Linux or Unix though. But I am supposed to be able to do the same on windows I think. Do I have to add the path to ghc.exe to the general system path? I have tried that but it isn't working. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How run "C:/path> ghc haskellfile.hs" ? "ssecorp" <circularfunc@xxxxxx> wrote in message news:8cc23be5-0450-4482-85ef-493808323589@xxxxxx Quote: > What do I need to do to be able to run things like: > "C:/path> ghc haskellfile.hs" from the command prompt? > > ghc is the Haskell compiler. > > I often see this with pyhton pythonfile.py too etc. > > normally that is on Linux or Unix though. > > But I am supposed to be able to do the same on windows I think. > > Do I have to add the path to ghc.exe to the general system path? I > have tried that but it isn't working. need to put it in a folder that is added to your path. I put extra programs and command in a folder called C:\windows\~command. The ~ is there so it appears at the top of the folder listing. It's easier to edit the path in Environmental Variables in System Properties, as you get messed around by carriage returns with using the PATH command. Pasting it into Notepad with Text Wrap off is easiest. It's easier to add the .exe file to C:\windows\system32 as it already in the path, but that is very messy I think. Have you double checked that your path is correct? ss. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Problems with the "Require trusted path for credential entry" setting | Vista security | |||
| "select Name,Path from Win32_Share" permissions required by ASP.NET to return paths, | Vista security | |||
| How to change "require trusted path for credential entry" | Vista account administration | |||
| Changing default path of "My Documents" (User files)to D: drive? | Vista file management | |||
| "Open command prompt here" and "Copy as path" | Vista performance & maintenance | |||