ms2pred - VC++ Project Convertor for PrEditor

ms2pred converts VC++ version 6 workspace and project files (.dsw and .dsp files) into PrEditor project files (.prj files).

Requirements

ms2pred requires Perl 5 to be installed on your computer and the perl executable in the path somewhere. Perl is available free from Active State. ms2pred was tested against ActivePerl 5.6.1 build 635, however, it should work with all versions of Perl 5.

Installation

Unzip the ms2pred.bat to a convenient sub-directory that is in the path, say, the PrEditor install directory (usually c:\Program Files\Thistle Software\PrEditor).

If you don't have Perl installed, then download and install it.

That's it!

Usage

ms2pred [-o pred-proj] ms-proj

where

  ms-proj The Microsoft project name. This can either be a workspace file (.dsw) or a project file (.dsp). A workspace file generally references one or more .dsp files.
  -o pred-proj The name of the PrEditor project file to use. If the extension is omitted, then ".prj" is appended. If this -o option is not present, then the base filename of the ms-proj is used with a .prj extension.
  -x Overwrite files without asking. Normally, ms2pred will not overwrite an existing PrEditor project file. This switch will cause ms2pred to overwrite files, so please use with caution.
  -h Displays the usage.
  -v Verbose.
  -V Displays the version number.

Example

Suppose that you have a VC++ project in the directory c:\myprojects called Example which has files Example.dsw and Example.dsp. Create MyExample.prj in the same directory by typing the following...

c:\myprojects>ms2pred -o MyExample.prj Example.dsp

Troubleshooting

The name specified is not recognized as an
internal or external command, operable program or batch file.
The ms2pred.bat file is not in the path. EITHER...

Can't locate strict.pm in @INC at c:\Program Files\Thistle Software\PrEditor/ms2pred.bat line 39.
BEGIN failed--compilation aborted at c:\Program Files\Thistle Software\PrEditor/ms2pred.bat line 39.
You probably have an old version of Perl installed (version 4 or earlier). Download Perl 5.

The name specified is not recognized as an
internal or external command, operable program or batch file.
You do not have Perl in your PATH.
Perl is not in your path. Installing ActivePerl usually adds Perl to the path, however, you can do this manually. Consult your Windows documentation on how to do this ( Control Panel -> System -> Environment on WinNT 4).