Jump to content

Problem with dircopy :/


StatQuo
 Share

Recommended Posts

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 :(

Link to comment
Share on other sites

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 :/

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...