Announcement

Collapse
No announcement yet.

Using a variable as a copy location (newbie)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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