home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power-Programmierung
/
CD1.mdf
/
batch
/
library
/
dvscr10
/
dvscr.doc
< prev
Wrap
Text File
|
1992-03-24
|
3KB
|
67 lines
DVSCR.BTM Version 1.0
By Yaniv Golan
All Rights Reserved
----------------------------------------------------------------------
DVSCR.BTM is a batch file written in 4dos's batch language, which
provides an easier and faster interface to DESQView's CONVSCR utility.
Most of the time, when handling DV's script files, all you want to do
is to convert a file called ??-scrip.dvs to ??-scrip.txt and back
(where ?? stand for the two keys used to invoke the program from the
Open Program menu). However, CONVSCR still requires you to type the
full pathnames of both the source and the destination files.
DVSCR.BTM accepts two parameters on the command line - the two "Open
Program" keys, and the requsted conversion (script to text or text to
script). Then it uses 4dos "keystack" command to pass the appropriate
keystrocks to CONVSCR.
Example of use: Say you want to convert the script you use for Turbo
Pascal to text. Assuming that the keys you use to invoke the program
are "TP", the format of DVSCR.BTM would be :
DVSCR /s tp
The result of this would be a text file named tp-scrip.txt.
This is the full description of the command line paramters, which can
be displayed by type : DVSCR /?
Usage : DVSCR options filename
options : /s convert script file (.dvs) to text file (.txt)
/t convert text file (.txt) to script file (.scr)
filename : if the file name is 2 characters long it is first
assumed to be of the form xx-scrip.[dvs\txt]. if
such file cannot be found, or if the length of the
name is more then two characters, the filename is
treated as a fully qualified name, with an extension
according to the options setting.
Maybe a little more about the treatment of file names:
2 letters long filenames are first assumed to be of the form
??-scrip.dvs or ??-scrip.txt (depending weather /t or /s was used). So
DVSCR tries to locate that file. If it can't find it it assumes that
your file is really called ??.dvs or ??.txt, and looks for that file.
If it can't find that either, then it means the file doesn't exist.
Filenames longer then 2 letters are always assumed to be of the form
??????.dvs or ???????.txt.
The CONVSCR utility must be on your path, or in the current directory.
DVSCR can handle filenames preceded by paths correctly (c:\dv\tp is
still considered a two letters long filename).
Naturally DVSCR is usefull only if you are using 4dos and DESQView.
4Dos and DESQView are both registered trademarks of the companies that
make them.
This is i guess a freeware. However, I retain all rights to it, and of
course - disclaim any responsibilty to any consequences of the use of
this program.
Comments and bug reports are welcomed.
my E-Mail address : s2942275@techst02.technion.ac.il
Snail Mail : Yaniv Golan
Hageula 4,
Hod-Hasharon 45272,
ISRAEL.