I added a DOSKEY alias via batch script (script1.bat) and try to call it in another batch script. It doesn't work.
script1.bat:
set USER_SETTINGS=%DRIVE%\programme\settings.xml
DOSKEY mvn=mvn --settings %USER_SETTINGS% -X $*
script2.bat:
mvn clean install
When I call mvn clean install
from the console, it works. The debug output is forthcoming. When I call script2.bat from the same console, no debug output is coming.
Can anyone help?
DOSKEY
works on. This cannot work, as far as I can tell. – Raceme