Using a variable as a copy location (newbie)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • amaru96
    Forum Member
    • Aug 2003
    • 8

    Using a variable as a copy location (newbie)

    Hi guys, I'm trying to distribute an update CD to a few people who have a program installed on their PC which I need to update by copying certain files to. The problem is the program is installed in different locations on each PC so I have found the registry key which locates the directory in which it's installed. I have read that value into a variable called %path%, how can I now use that variable to copy the files into?

    Eg: copy c:\windows\*.* %path%\textures

    Thanks for any help
  • Lorne
    Indigo Rose Staff Member
    • Feb 2001
    • 2729

    #2
    Re: Using a variable as a copy location (newbie)

    Use a File.Copy action, and use %path% in the target path.
    --[[ Indigo Rose Software Developer ]]

    Comment

    Working...
    X