SRL Archive - Delphi/FPC Help and Tutorials

Move Files(Extract Them To)(i have searched but couldn't find)


ShowerThoughts

2008-03-29 10:58:51

I want to do this(In Delphi)

you Have A file Called <ScriptName>.rar
You extract it to your desktop or without

then when you open the map in it it it will show some files + an .exe if you click that .exe and you click the button Install <ScriptName> it will move the files that are in the same place as the .exe to C:\Program Files\Scar <Your version>\Includes\

How Can I Move(or copy, just want to have the files there)) A File, I searched But Couldn't Find Something :(

Thank You For Your Time


Hermpie

About Your version i will make it for the newest and the 1 before newest

Freddy1990

2008-04-02 04:33:08

In you case imo the best thing you could do is probably get the RAR command line tool and use that from delphi to extract the files… And to move the files, maybe try the "MoveFile" function… Either include a file listing with your files for the program to read or do a recursive search…