I have this echo command:
$ echo "alias notepad++="C:/Program\ Files\ "(x86)"/Notepad++/Notepad++.exe"" >> ~/.bashrc
As shown in the picture it does not recognize the parenthesis.
Escape them. Use this instead:
echo "alias notepad++="C:/Program\ Files\ \(x86\)/Notepad++/Notepad++.exe"" >> ~/.bashrc
echo 'alias notepad++="C:/Program Files (x86)/Notepad++/Notepad++.exe"'