Lazarus cannot be recompiled in "Program Files" directory, because Windows 7 forbids writing and or other modifications of .exe,.bat files in this folder. thanks, dmitry