Jump to content

Fileinstall question


Recommended Posts

Is it possible to use File Install to extract a folder to another destination?

Ie. FileInstall("C:\materials", "C:\Program Files\Steam\SteamApps\vorlof\counter-strike source\cstrike\")

Or is there another method for moving a folder to another directory?

[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

Link to comment
Share on other sites

I need to copy a folder along with it's sub folders inside to another directory, is that possible?

FileCopy("C:\materials\*.*", "C:\Program Files\Steam\SteamApps\vorlof\counter-strike source\cstrike\")

Which isn't working..

Figured it out, DirCopy($Wallhack, $Destination, 1)

Edited by Sardith

[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

Link to comment
Share on other sites

from the help file. I auusme this is what u are looking for?

DirCopy

Copies a directory and all sub-directories and files (Similar to xcopy).

DirCopy ( "source dir", "dest dir" [, flag] )

DirCopy("C:\My Documents", "C:\Backups\MyDocs", 1)

Link to comment
Share on other sites

Is it possible to use File Install to extract a folder to another destination?

Ie. FileInstall("C:\materials", "C:\Program Files\Steam\SteamApps\vorlof\counter-strike source\cstrike\")

Or is there another method for moving a folder to another directory?

What about zipfiles?

1. zip "C:\materials\*.*"

2. FileInstall("C:\materials\files.zip", "C:\Program Files\Steam\SteamApps\vorlof\counter-strike source\cstrike\files.zip")

3. unzip the files

Use for example 7-Zip commandline.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...