Sign in to follow this  
Followers 0
Wb-FreeKill

create dir with variabel

3 posts in this topic

#1 ·  Posted (edited)

How can i combine two variables into one

$des1 =pic

$des2 =.bmp

$desall = $des1 + $des2

msgbox (0, "des", $desall) <--- i should reply pic.bmp

Edited by Wb-FreeKill

Share this post


Link to post
Share on other sites



How can i combine two variables into one

$des1 =pic

$des2 =.bmp

$desall = $des1 + $des2

msgbox (0, "des", $desall)  <--- i should reply pic.bmp

<{POST_SNAPBACK}>

$des1 =pic

$des2 =.bmp

$desall = $des1 & $des2

msgbox (0, "des", $desall)

OR

$des1 =pic

$des2 =.bmp

msgbox (0, "des", $des1 & $des2)

Share this post


Link to post
Share on other sites

enclose the variable values in quotes and use '&' instead of '+'.

$des1 = "pic"

$des2 = ".bmp"

$desall = $des1 & $des2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0