@astephens1
I moved your topic. You'll get more response posting C&C issues in the actual C&C section. Mostly because, that's where I hang out 😛
Secondly... the reason the -w parameter doesn't work is because the Origin game launchers included in the Ultimate Collection games (yes, that includes the free On The House RA2/YR; it's just the version from that collection) restricts the command line parameters it actually passes on to the game to a very small set the developers actively supported.
To get around that, you need to install the custom launchers made by Bibber:
https://bibber.eu/downloads/cnc-ultimate-collection-launchers/
@malakadilkhan Most people you'll find helping others here are just volunteers. We're not EA employees, but just fellow gamers trying to help people out.