<?xml version="1.0" encoding="utf-8" ?> <!-- for emacs: -*- coding: utf-8 -*- --> <!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title>finding your files under cygwin</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="___Find__One.html">next</a> | <a href="_fill__Matrix.html">previous</a> | <a href="___Find__One.html">forward</a> | <a href="_fill__Matrix.html">backward</a> | up | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div> </td> </tr> </table> <hr/> <div><h1>finding your files under cygwin</h1> <div>In Microsoft Windows, most people run programs by pulling down menus or by clicking on icons that have been carefully placed there by install programs. Thus the idea of a <em>path</em> along which to search for programs (such as a browser) is no longer useful in Windows.<p/> On my computer the browser program <tt>firefox.exe</tt> is in the following directory.<pre> C:/Program Files/Mozilla Firefox</pre> But M2 is a Cygwin program, and it lives in a different world, where paths to files don't ever start out with something like <tt>C:</tt>. In that world, firefox's directory is known instead as:<pre> /cygdrive/c/Program Files/Mozilla Firefox</pre> Conversely, the root directory, known in the Cygwin world as <tt>/</tt>, could be located anywhere in the Windows world. On my machine it is at<pre> C:/cygwin</pre> Use the <tt>df</tt> command or the <tt>mount</tt> command in a cygwin command shell window to determine that path: it is the file system on which <tt>/</tt> is mounted.</div> </div> </body> </html>