How to register dll extension with EsriRegAsm.exe?
If you change to the directory of the DLL that you need to register you should be able to type just the DLL name without having to worry about directory names with spaces.
So, in your case, cd to "C:\Program Files (x86)\MyExtension" and then run the following:
ESRIRegAsm myextension.dll /p:desktop