Archive: How to copy files? (FileReadByte/FileWriteByte?)


How to copy files? (FileReadByte/FileWriteByte?)
Anyone out there using FileReadByte & FileWriteByte to copy files during the installation?

I'm trying to create a little script that copies a few core files onto a user's machine then hits our LAN to copy the latest version of a file. This way I don't have to update the installer every 2 days to include this new file.

Anyone done this or used the FileXByte functions?

Thanks


Simian,

if you know the other computers name in the LAN, this works:

outfile prob.exe
name prob

section
CopyFiles "\\notebook\mijn documenten\prob.txt" "f:\"
sectionend

My other computer is called "notebook" and shares a path "mijn documenten" (My documents) over the network. So (of course) only shared files can be copied. But it's not necessary to use FileReadByte or FileWriteByte.

Does this answer the question?

Good luck, greetz,
-Hendri.

Originally posted by Smile2Me

section
CopyFiles "\\notebook\mijn documenten\prob.txt" "f:\"
sectionend[/code]

Does this answer the question?

-Hendri.
I'm an idiot, completely missed that in the docs. Thanks for the response.

[Simian]