>Is there anyway to set such a resource variable only for the execution >of one command, and forget about it later on?
for any resources do:
xmosaic -xrm "Mosaic*resource: value"