Jump to content
Sign in to follow this  

Using vairable in Send Function

Recommended Posts



Have two Send Statements is a script. They are:

Send ("C:\convert\2733230-2734547")

Send ("C:\finished\2733230-2734547")

Would like to replace the "2733230-2734547" with a variable called $fname.

I declared my variable and changed my Send statements as follows:

$fname = "2733230-2734547"

Send ("C:\convert\$fname")

Send ("C:\finished\$fname")

However $fname is being sent as "$fname" and not it's declared value. What is the proper way to include a variable in a send statement?

Share this post

Link to post
Share on other sites

Send ("C:\convert\" & $fname)
That works. Have not worked much with scripting or programing, so am learning as I go. Thanks for a quick response and the help.

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.