A compact flash card is a very bad choice for a swap file, slow and the constant read/write cycles will likely destroy it in short order. So even if you find a way to do this, don't.