我正在使用Windows XP和最新版本的Cygwin。如果我在Windows系統上我如何才能讓Cygwin正確讀取我的Windows環境變量?
JBOSS_HOME=C:/Program Files/jboss-4.2.3.GA
設置以下環境變量,然後火了Cygwin的,我無法切換到繼承$ JBOSS_HOME目錄。
$ cd $JBOSS_HOME
cygwin warning:
MS-DOS style path detected: C:/Program
Preferred POSIX equivalent is: /cygdrive/c/Program
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
-bash: cd: C:/Program: No such file or directory
是否有可能在Windows環境中,一旦確定我的系統變量,然後拿到Cygwin來解釋它,這樣我沒有得到這個「沒有這樣的文件或目錄」的警告?