返回列表 回復 發帖

有關MS-DOS - "path"

如題:

有d唔明白"path"系點用, 可唔可以講解下.......多謝晒^^ ^:)^

Add Airsnort's bin directory, along with the bin directories of all its supporting packages to your windows path. You can do that by typing "path" at the command prompt and paste in the path you would like to add, or you can change this under My Computer in your Advanced Tab, Environmental Variables, Path.

Mine looks like this because I put Airsnort and it's associated files under the Program Files directory.

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\airsnort-0.2.7e\bin;C:\Program Files\airsnort-0.2.7e\atk-1.8.0\bin;C:\Program Files\airsnort-0.2.7e\glib-2.4.7\bin;C:\Program Files\airsnort-0.2.7e\gtk+-2.4.14\bin;C:\Program Files\airsnort-0.2.7e\pango-1.4.1\bin
dos要找執行檔有兩個辦法,一個是找現在目錄下的檔案,一個就是找PATH變數下的目錄的檔案

像 dir 這個list檔案的程式不在你現在的目錄下,但還是可以執行,因為你的path變數包含了dir程式的目錄

在我的電腦按右鍵選內容可以找到個人設定,修改個人的PATH路徑。

在cmd下,執行path就能看到你的目錄了
可唔可以用printscreen 來教學? 度系有d唔明 ^:)^
返回列表