Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   cannot copy string correctly (http://forums.winamp.com/showthread.php?t=235313)

l_ahriman 12th January 2006 09:57

cannot copy string correctly
 
I use following code:

PHP Code:

StrCpy $INSTDIR $TARGETDIR

MessageBox MB_ICONQUESTION
|MB_YESNO|MB_DEFBUTTON2 $TARGETDIR MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 $INSTDIR 

Those two message boxes are for checking purpose only. Why is it so when e.g. in $TARGETDIR i have c:\BLEBLEBLE\zz
after copying in $INSTDIR i obtain c\BLEBLEBLE\zz - in other words why the colon character is not copied?

kichik 12th January 2006 13:00

You probably have a space before C:\ in $TARGETDIR. $INSTDIR is always normalized so it'd contain a valid path.


All times are GMT. The time now is 05:41.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.