Iditically simple I hope ...
I'm trying to create a bash command file on the fly from within an W7 DOS shell:
:: 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
I thought prefixing the second echo command with a ^ (caret) would work but no ... anything welcomed