[RESOLVED] how to combine 2 "batch" commands in xp virtual mode
hi all.
last fall i installed windows 7 with xp running in virtual mode (see here http://discussions.virtualdr.com/sho...-xp-mode).most of the reason for this
was to be able to run some legacy basic programs (qbasic does not run in 7 but still does in xp) and print to a laser printer.
this is the batch command i use to run one of these programs:
QB /RUN C:\DATA\NCR\RECONCIL.BAS
this is the property window of the desktop shortcut to that command:
Attachment 12067
the programs run fine. calculates fine. prints fine. everythig is fine. except that once per week or so nothing prints. what i need to do when that happens is to run the following command which i have set up as another desktop batch shortcut:
net use lpt1: \\virtual_xp\p2035 /persistent:yes
when i re-run the basic program, everything prints fine again. what i'd like to do is somehow combine these two so that i (or more importantly someone else when i'm not here) would be able to launch a single desktop shorcut that will execute the "net use" command and then launch the qbasic command.
any thoughts?
thanks in advance.