Sign in to follow this  
Followers 0
StatQuo

Problem with dircopy :/

5 posts in this topic

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



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

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

#4 ·  Posted (edited)

Orginal or Original?

Also make sure your working path is the path you want it to be...

Edited by AoRaToS

s!mpL3 LAN Messenger

Current version 2.9.8.8 [30/09/2015]

Download Here

s!mpL3

Share this post


Link to post
Share on other sites

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  
Followers 0