Powershell で実行されていないディレクトリに移動する .bat ファイル

Powershell で実行されていないディレクトリに移動する .bat ファイル

PowerShell プロファイルで、C: ドライブに行を設定しました。set-location c:\ただし、以前はパス変数を使用してgithubgithub フォルダーにジャンプしていました。これはコマンド ラインでは機能し、他の cd 以外のコマンドは Powershell で機能しますが、これは機能しません。

:: move from user space to github folder

@echo off
cd users
cd giaco
cd documents
cd github

単にコマンドを無視します:

指示

ただし、別のコマンドを使用すると、

ジキルビルド

問題なく動作します。

これをどうすれば修正できますか?

ありがとう

関連情報