-----Original Message-----
Mailing lists / lazarus / 1999-07
FW: win32
3 messages · 3 people ·
- BBaeseman, Cliff 1
- JJeff Wormsley 1
- MMichael Van Canneyt 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Show quoted text 6 lines
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.
Jeff Wormsley wrote 9 lines
The problem is that in the compiler directory there is a file 'make.cmd', meant for OS/2 But since NT also accepts .CMD as an extension for batch files, it tries to run this make and NOT the real 'make.exe'. The solution is to remove the make.cmd from the directory or to specify the full path to make.
(Do not forget that the next source wil again contain the make.cmd)
Michael.
