Jump to content
Sign in to follow this  
StatQuo

Problem with dircopy :/

Recommended Posts

StatQuo

Hi i make script that make directory backup:

DirCreate ( "Skins" )
DirCreate("Skins\Orginal")
$InstallPath = RegRead ( "HKEY_CURRENT_USER\Software\Games-Masters.com\CabalOnline", "ENGInstallPath" )
Iniwrite("config.ini", "Settings","Skinpath",$InstallPath & "\Data\UI\Theme1")
$SkinPath = IniRead("config.ini","Settings","skinpath", "Not Found")
Dircopy ($SkinPath, "Skins\Orginal")
Exit

Ok, defalut install path is "C:\Program Files\CABAL Online", so defalut skinpath is "C:\Program Files\CABAL Online\Data\UI\Theme1"

My script should work, but don't :mellow:

Any ideas ?

Sorry 4 my english :(

Share this post


Link to post
Share on other sites
rasim

StatQuo

Welcome!

You tried to do so?

Dircopy($SkinPath, "C:\Program Files\CABAL Online\Data\UI\Theme1\Skins\Orginal")

Share this post


Link to post
Share on other sites
StatQuo

Hi,

No, i want copy "C:\Program Files\CABAL Online\Data\UI\Theme1" to Skin\Orginal in script folder i use RegRead to read install folder (because i probably change install location in future) and add "\Data\UI\Theme1" to install path (because i dont want copy whole game)

This should be a fast skin changer, but dosen't work :/

Share this post


Link to post
Share on other sites
StatQuo

Hmm, i modified this script- now i use FileSelectFolder, and all work :yes: :mellow:

Share this post


Link to post
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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.