Works for After effects too, just make sure your shortcut is the same name as the executable, so in this case it’s AfterFX.
I was trying to render a comp out of Media Encoder and would get the dynamic link error when choosing the AE project. Moving the shortcut (in my case to C:\Program Files (x86)\Common Files\Adobe\dynamiclink since I’m on 64bit) worked like a charm. Pretty slick. Thanks again.