Although not designed for this purpose, you could add to config.txt something like: COM9 = "file":
COM9 can eventually be any other DOS COM/LPT port you don’t use. file has to be an existing file. vDos will try to open that exclusively. If it’s already open, an exception will be thrown: “Couldn’t link DOS COM9 to Windows file”.