2017年11月16日 星期四

where, Windows查詢程式執行位置的指令

在UNIX-like系統上面,可以直接用which這個指令就知道某個程式是從哪邊被執行的。在Windows上,則是使用where:
  1. where where
    C:\Windows\System32\where.exe
  2. where /?
第1個指令是在找出where這個指令放在甚麼地方,第2個指令則是where指令的使用方式。以上內容參考 Is there an equivalent of 'which' on the Windows command line? 

_EOF_

沒有留言:

張貼留言