User forums > Using Code::Blocks

The system cannot execute the specified program

(1/2) > >>

puneet_m:
In update.bat file, there is a following line ---

%ZIPCMD% -j9 %CB_DEVEL_RESDIR%\codecompletion.zip plugins\codecompletion\resources\manifest.xml plugins\codecompletion\resources\*.xrc > nul

When we attempt to start a 16-bit program from a folder that has a full path name with more than than 64 characters, the following error message appears:
The system cannot execute the specified program.

What will be the most appropriate way of tackling this error? (I am not really sure whether changing the name of codecompletion to something smaller will be a good idea).

Thanks,

thomas:
This is a Windows 95/98 limitation. We will not rename any files.

It can be fixed by setting an environment variable in your autoexec.bat, but I forgot the name...  :?

puneet_m:
But my machine is Windows XP..Then what could be the problem??

wwolf:
It is a Windows limitation.  A stupid one.  16bit processes cannot do any better.  It is not Code::Blocks specific problem.

Biplab:

--- Quote from: puneet_m on August 22, 2007, 04:16:39 pm ---But my machine is Windows XP..Then what could be the problem??

--- End quote ---

If I remember correctly, I gave the link of to download zip utility. I suspect you downloaded the Win3.x (16 bit version).

Please download zip232xN.zip file from the following mirror.

--- Quote ---ftp://ftp.info-zip.org/pub/infozip/WIN32/
--- End quote ---

This should solve your problem.

Navigation

[0] Message Index

[#] Next page

Go to full version