Jump to content

Using vairable in Send Function


 Share

Recommended Posts

Hello

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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...