StatQuo Posted November 22, 2008 Share Posted November 22, 2008 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 Any ideas ? Sorry 4 my english Link to comment Share on other sites More sharing options...
rasim Posted November 22, 2008 Share Posted November 22, 2008 StatQuoWelcome!You tried to do so?Dircopy($SkinPath, "C:\Program Files\CABAL Online\Data\UI\Theme1\Skins\Orginal") Link to comment Share on other sites More sharing options...
StatQuo Posted November 22, 2008 Author Share Posted November 22, 2008 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 More sharing options...
AoRaToS Posted November 22, 2008 Share Posted November 22, 2008 (edited) Orginal or Original? Also make sure your working path is the path you want it to be... Edited November 22, 2008 by AoRaToS s!mpL3 LAN Messenger Current version 2.9.9.1 [04/07/2019] s!mpL3 LAN Messenger.zip s!mpL3 Link to comment Share on other sites More sharing options...
StatQuo Posted November 22, 2008 Author Share Posted November 22, 2008 Hmm, i modified this script- now i use FileSelectFolder, and all work :yes: Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now