Windows 7 DOS シェル内からその場で bash コマンド ファイルを作成しようとしています。
:: inside the .BAT file ..
:: check we are in the right directory
echo pwd > command.txt
:: get the shell to echo its environment variables
:: !!!! How do I get around this ... ?
echo echo $PWD
2 番目の echo コマンドの前に ^ (キャレット) を付けるとうまくいくと思いましたが、うまくいきませんでした。解決策は何ですか?