think its a new command i wished for v2 because
paul used appdata path now.
it was used as parameter for SetRawWritePath
the path from GetDocumentsPath seems correct.
the error said SetCurrentDir want relative path
the docu said
SetCurrentDir
This command is deprecated and has been replaced with SetFolder.
rem
rem AGK Application V2 Alpha 7
rem MR
do
print( GetDocumentsPath())
//SetRawWritePath( GetDocumentsPath())
//print(GetWritePath ())
SetCurrentDir (GetDocumentsPath())
print(GetErrorOccurred())
print(GetLastError())
print(GetCurrentDir())
//print(GetReadPath () )
sync()
loop
end
we need using like this?
SetRawWritePath( GetDocumentsPath())
print(GetWritePath ())
SetFolder ("")
//... create folder?
SetFolder ("media\")
print(GetErrorOccurred())
print(GetLastError())
AGK 108 (B)19 + AppGameKit V2 Alpha .. : Windows 8.1 Pro 64 Bit : AMD Radeon R7 265