62,620
社区成员
发帖
与我相关
我的任务
分享$sfk where
sfk pathfind mycmd
sfk where mycmd
search the current directory and the PATH for the location
of a command mycmd. "where" is the same as "pathfind".
if mycmd does not contain a dot '.', sfk searches for all
extensions listed in PATHEXT, e.g. mycmd.bat, mycmd.exe etc.[/quote]
这位兄弟说的是linux平台下的吧,windows平台呢?[/quote]
这位兄弟的答案正解!$sfk where
sfk pathfind mycmd
sfk where mycmd
search the current directory and the PATH for the location
of a command mycmd. "where" is the same as "pathfind".
if mycmd does not contain a dot '.', sfk searches for all
extensions listed in PATHEXT, e.g. mycmd.bat, mycmd.exe etc.[/quote]
这位兄弟说的是linux平台下的吧,windows平台呢?[/quote]
好的,我试试$sfk where
sfk pathfind mycmd
sfk where mycmd
search the current directory and the PATH for the location
of a command mycmd. "where" is the same as "pathfind".
if mycmd does not contain a dot '.', sfk searches for all
extensions listed in PATHEXT, e.g. mycmd.bat, mycmd.exe etc.[/quote]
这位兄弟说的是linux平台下的吧,windows平台呢?$sfk where
sfk pathfind mycmd
sfk where mycmd
search the current directory and the PATH for the location
of a command mycmd. "where" is the same as "pathfind".
if mycmd does not contain a dot '.', sfk searches for all
extensions listed in PATHEXT, e.g. mycmd.bat, mycmd.exe etc.