williamk Posted January 14, 2007 Posted January 14, 2007 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?
GaryFrost Posted January 14, 2007 Posted January 14, 2007 Send ("C:\convert\" & $fname) SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
williamk Posted January 15, 2007 Author Posted January 15, 2007 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now