News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

The system cannot execute the specified program

Started by puneet_m, August 21, 2007, 11:36:05 PM

Previous topic - Next topic

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...  :?
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

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??

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.
Quoteftp://ftp.info-zip.org/pub/infozip/WIN32/

This should solve your problem.
Be a part of the solution, not a part of the problem.

puneet_m

Thanks, that solved the problem.

But when I try executing codeblock after building it and running update.bat it gives me the following error --

The application failed to initialize properly(0x0000005). Click OK to terminate the application

Why is that giving an error when I could successfully build codeblock?

Biplab

Quote from: puneet_m on August 22, 2007, 05:22:40 PM
The application failed to initialize properly(0x0000005). Click OK to terminate the application

A Google search with the above phrase gives multiple solutions. Google it and see which one applies for you. But before that you may wish to clean up everything and rebuild the C::B source once to see if the problem persists or not.
Be a part of the solution, not a part of the problem.