[lazarus] FW: win32

Jeff Wormsley daworm at cdc.net
Mon Jul 19 09:14:57 EDT 1999


>C:\PP\SOURCE>cd compiler
>
>C:\PP\SOURCE\COMPILER>make cycle
>The name specified is not recognized as an
>internal or external command, operable program or batch file.
>>& was unexpected at this time.

This must be NT you are running on.  The only thing left in NT that you can do from Autoexec.bat is set the path and environment variables.  You can also do it in the command prompt properties, by specifying a batch file (say, lazinit.bat) that sets the path and environment variables.  Path needs to have C:\PP\BIN\WIN32 added, going by your example.  Use SET PATH=%PATH%;C:\PP\BIN\WIN32; to add it to what is already there.  

Try this.  Make a copy of your command prompt shortcut on the desktop.  Rename it Lazarus Prompt.  Open the properties, and in the Shortcut tab, add the following after the CMD.EXE in the first box: /KC:\PP\BIN\WIN32\LAZINIT.BAT.  Then create LAZINIT.BAT in C:\PP\BIN\WIN32 with the following entries.

@ECHO OFF
SET PATH=%PATH%;C:\PP\BIN\WIN32;
SET FPCDIR=C:\PP\SOURCE
SET CVSROOT= <whatever, I'm at work and don't remember>
C:
CD \PP\SOURCE

Then when you open the Lazarus Prompt, you should be dropped right into the directory you want with everything ready to roll.

Jeff.







More information about the Lazarus mailing list