handles spaces better, also using CMDER_ROOT for everything

This commit is contained in:
Samuel Vasko
2013-12-09 00:55:18 +01:00
parent 092c046456
commit 3c979780f9
3 changed files with 7 additions and 9 deletions

View File

@ -13,8 +13,8 @@ if not ["%_temp%"] == ["%_temp2%"] (
goto:eof
)
echo %* >> %~dp0..\config\aliases
doskey /macrofile=%~dp0..\config\aliases
echo %* >> "%CMDER_ROOT%\config\aliases"
doskey /macrofile="%CMDER_ROOT%\config\aliases"
echo Alias created
endlocal
goto:eof