Sign in to follow this  
Followers 0
tom13

2 variables after each other?

3 posts in this topic

Hi,

I have a upload script, which needs to upload file X.

It is located in $path and the name of the file is $file

So now it should be something like:

$s_AttachFiles = $path $file

which should give as result something like:

C:\\path\file.gif

But how do I combine these 2 variables?

I tried this but it didn't worked: $path & $file

Share this post


Link to post
Share on other sites



Hi,

using & is correct. Do a MSgBox of the content of the vars to see what you are doing.

So long,

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

Hi,

using & is correct. Do a MSgBox of the content of the vars to see what you are doing.

So long,

Mega

Hey, thanks for your respone

Well, stupid me.. I found out that the file I was trying to send did not excist

Sorry :shocked:

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