You can. The last parameter is the output format (frame%%00d.png) and you can use any valid file system location. eg. rvidFrames/frame%%00d.png , c:/rvidFrames/frame%%00d.png , ect.
You might want to read up on batch and ffmpeg though when creating scripts.