Never mind, I've got it now. %_cwd puts the value of the variable on the command line, whereas %%_cwd puts the string %_cwd on the command line which gets expanded upon execution. It's still not clear to me where _cwd is getting the values assigned to it using just one "%", but two works.
It...