home *** CD-ROM | disk | FTP | other *** search
-
- DVActive is a little utility i whipped up one night that is used in .BAT
- files to determine if we are running under DESQview.
-
- DVActive returns an errorlevel of 1 if DESQview is detected, or 0 if not
- detected.
-
- just run DVActive in your .BAT file without any command line parameters and
- then check the errorlevel returned.
-
- dvactive
- if errorlevel 1 goto dvstuff
- goto normal
- :dvstuff
- echo we're running under DV!
- goto end
- :normal
- echo DESQview was not detected...
- :end
-
- DVActive is placed in the Public Domain and may be distributed to anyone who
- might need to detect DV from a .BAT file.
-
-