From: sof Date: Thu, 13 Feb 2003 15:20:27 +0000 (+0000) Subject: [project @ 2003-02-13 15:20:27 by sof] X-Git-Tag: Approx_11550_changesets_converted~1167 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=4eb2a52eaa775b70bd471abdf2d2ce11960d848f;p=ghc-hetmet.git [project @ 2003-02-13 15:20:27 by sof] upd wrt spacy filenames --- diff --git a/ghc/docs/users_guide/win32-dlls.sgml b/ghc/docs/users_guide/win32-dlls.sgml index 96b5f1c..75d5f30 100644 --- a/ghc/docs/users_guide/win32-dlls.sgml +++ b/ghc/docs/users_guide/win32-dlls.sgml @@ -10,14 +10,20 @@ The installer that installs GHC on Win32 also sets up the file-suffix associatio for ".hs" and ".lhs" files so that double-clicking them starts ghci. -One little hitch happens if you right-click on a file, select "Open With..." and -then pick ghci. If the filename has spaces in, what will happen is -that GHC will get invoked like this: +Be aware of that ghc and ghci do +require filenames containing spaces to be escaped using quotes: - c:\ghc\bin\ghci \Documents and Settings\MyFile.lhs + c:\ghc\bin\ghci "c:\\Program Files\\Haskell\\Project.hs" -So it looks to GHC as if there are three arguments, "\Documents", "and", and "Settings\MyFile.lhs". + + +If the quotes are left off in the above command, ghci will +interpret the filename as two, "c:\\Program" and "Files\\Haskell\\Project.hs". + +