0

SSH経由でログインしたときにディレクトリが表示されるように、Windowsサーバーにパスを設定したい

C:\Program Files (x86)\Git\libexec\git-core

は私の道にあります。

サーバーに ssh できますが、%PATH% に上記のディレクトリが含まれていません。

パスにディレクトリを追加できる「.profile」、「.bashrc」、「.login」などのファイルはありますか?

4

1 に答える 1

-1

You can also set your path from the command line with

setx PATH "%PATH%;C:\Program Files (x86)\Git\libexec\git-core"

I'm having the same problem as you, though, which is my path is different when I'm at a command prompt at the keyboard vs logged in remotely. Still trying to figure that one out.

于 2012-08-03T15:22:42.407 に答える