Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Portable Code::Blocks

<< < (15/19) > >>

ollydbg:
Hi, all
since the batch script here
http://forums.codeblocks.org/index.php/topic,10360.msg71730.html#msg71730

is it possible use a better way

--- Code: ---:: Change to the directory that this batch file is in
:: NB: it must be invoked with a full path!
for /f %%i in ("%0") do set curpath=%%~dpi
echo %curpath%
cmd

--- End code ---

which means, the curpath is better than the HOMEDRIVE

I just copied from:
http://blogs.msdn.com/b/oldnewthing/archive/2005/01/28/362565.aspx

any ideas?

thanks.

codeur:
A new version of the portable launcher is available:
http://CbLauncher.codecutter.org/CbLauncher_0.1.6.zip

 *  v-0.1.6 February 2011
 *  - Fixed: "PATH" environment variable was incorrectly set when long.
 *  - Changed all code to pure unicode strings (no TCHAR and no _T(..))
 *  - Removed --debug-log from Code::Blocks call (not useful as launcher now passes
 *    command line parameters).
 *
Please post any issue you may encounter with the portable CbLauncher in this thread.

ollydbg:
I can't download this package... the link is broken??

Baluarte:

--- Quote from: ollydbg on February 18, 2011, 01:06:03 pm ---I can't download this package... the link is broken??

--- End quote ---

True!

codeur:

--- Quote from: ollydbg on February 18, 2011, 01:06:03 pm ---I can't download this package... the link is broken??

--- End quote ---

It's there now. I had to implement a "last minute" change.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version