Can I automatically convert a UNIX file to Window/DOS, e.g., from a batch file?
Yes. You can convert a UNIX file with just Line-Feed characters to a Windows/DOS file with Carriage-Return and Line-Feed characters by selecting {BLOCK, Convert newlines, UNIX to DOS}. You can automate the conversion with the command: vpw -n3 -x convert.vdm filename where ‘filename’ is the name of the file to be converted. The “-n3” is a special code to the convert.vdm macro which tells it to automatically perform the third item in its menu, i.e., “[3] UNIX to DOS LF to CR+LF”. Similarly “-n1” can be used to convert a file from Window/DOS to UNIX. The comments at the beginning of convert.vdm describe how to also convert between fixed-length records and “Newlines”.