Path: nlbbs!gator!rde!uunet!uunet.ca!canrem!dosgate!dosgate![quarterdeck.canada@canrem.com]
From: "quarterdeck canada" <quarterdeck.canada@canrem.com>
Newsgroups: comp.os.msdos.desqview
Subject: dv386 settings for us
Message-ID: <1993Jan3.3880.3942@dosgate>
Date: 3 Jan 93 21:54:40 EST
Reply-To: "quarterdeck canada" <quarterdeck.canada@canrem.com>
Distribution: comp
Organization: Canada Remote Systems
Lines: 61

JH>I beleive it was in this newsgroup that had a discussion about trying
JH>to use a Colorado 250 with DV.  I am running PCBoard under Desqview,
JH>and want to make an event to run CPbackup to do a full backup in the
JH>morning.  This is of course no problem NOT running under DOS.

JH>Is there an easy way to do this I am missing?  An easy way to exit
JH>DV (I am using 2.42, and QEMM 6.02 BTW), run the backup event, and
JH>re-enter DV.  I already know how to set up script files to automatically
JH>make DV open the PCB wiindow.

The following DEBUG script will create a program that quits DESQview as
long as there are no applications open that have "Allow Close Window
Command" set to N on the second page of the Change a Program Menu.

Mark and Transfer the following lines of text into a plain ASCII file.
Call that file QUITDV.DBG.

n quitdv.com
a 100
MOV    AX,101B
INT    15
MOV    BX,1559
MOV    AX,1110
INT    15
MOV    BX,1051
MOV    AX,1110
INT    15
MOV    BX,FC00
MOV    AX,1110
INT    15
MOV    AX,101C
INT    15
MOV    AX,4C00
INT    21

rcx
27
w
q

Make sure that you don't leave out the blank line before rcx.  Save the
file QUITDV.DBG, and make sure DOS's DEBUG is on your path.  Force-feed
your .DBG file to DEBUG like this:

DEBUG < QUITDV.DBG

This will create a file in the current directory called QUITDV.COM.
Again, it will not work if an open window has "Allow Close Window
Command" set to no in the DVP.  Otherwise, SAVE YOUR WORK, type QUITDV
from a DOS prompt (or run it from a batch file) and watch the fun.

Regards,

Michael Bolton
Tech Support
Quarterdeck Canada  (416) 360-5758  quarterdeck.canada@canrem.com
---
  DeLuxe 1.25 #6922  DESQview works on ANY '86 processor
--
Canada Remote Systems  - Toronto, Ontario
World's Largest PCBOARD System - 416-629-7000/629-7044
