Sziasztok!
Valaki tudna nekem segíteni mortscript ügyben. Egy olyan skint használok amiben van egy mortscript gomb ha azt megnyomom meghív egy autorun.exe-t. Ez eddig jó. De az autorun.mscr -ben kéne beállítanom, hogy az sd kártyáról indítson lejátszót. Sajnos nem megy. Valamit nem jó formában írok vagy nemtudom

Ez van az autorun.mscr-ben:
#Sample Shortcut Script # <- denote comments
#Path to your exe. The first part creates a path to your content folder and second is the path to your coreplayer folder from the content folder
#You can also set this manually Ex: pth = "\sdmmc\igo\content\games\CorePlayer_PNA\" or pth = "\sdmmc\CorePlayer\" or pth = "\Storage Card\yourmom\CorePlayer\"
pth= Part(SystemPath("ScriptPath"),"games\",1) & "games\CorePlayer_PNA\"
#Name of your exe
exe= "Coreplayer.exe"
#Check to see if exe is there (notice how the variables pth, and exe are used to refer to the location of the exe file)
If(FileExists( pth & exe))
#Check to see if the exe is already running
If(ProcExists(exe))
#If it is already running, run the exe to restore it to the front
Run(pth & exe)
Else
#If it is not running
#Check to see if the configuration folder exists
If(NOT DirExists("\Application Data\CorePlayer"))
#If not, then make it
MkDir("\Application Data\CorePlayer")
EndIf
#Check to see if your configuration folder exists
If(NOT DirExists(pth & "CorePlayerConfig"))
#If not, then make it
MkDir(pth & "CorePlayerConfig")
EndIf
#Save configuration files now in case you ran the program previously
XCopy("\Application Data\CorePlayer\*.xml", pth & "CorePlayerConfig", TRUE, TRUE)
XCopy("\Application Data\CorePlayer\*.db", pth & "CorePlayerConfig", TRUE, TRUE)
#Restore Settings
XCopy( pth & "CorePlayerConfig\*.xml", "\Application Data\CorePlayer", TRUE, TRUE)
XCopy( pth & "CorePlayerConfig\*.db", "\Application Data\CorePlayer", TRUE, TRUE)
Sleep 1000
#Run exe
Run(pth & exe)
Ha beállítom az elérési utat: "\sdmmc\igo\content\games\CorePlayer_PNA\" akkor kidob azzal a hibaüzenettel hogy nem tud létrehozni \Application Data\CorePlayer könyvtárat vagy ilyesmi.