File.WriteList(File.DirRootExternal, "PokerTracker_Stats.txt", List1)

wheretheidivides

Active Member
Licensed User
Longtime User
File.WriteList(File.DirRootExternal, "PokerTracker_Stats.txt", List1)


Is there a way to save this list to a different directory? Right now it saves it to the main root directory. i would like it to save to a "SavedGame" directory. In PC talk it'd be "C:/savedgame/PokerTracker_Stats.txt".

Also, is there a accepted standard for saved games to put saved game stats in?

Remeber, the B in BASIC stands for beginner.
 

Mahares

Expert
Licensed User
Longtime User
B4X:
File.MakeDir(File.DirRootExternal,"SavedGame")  'Creates folder if it does not exist

'Rest of code      
.      
.      
File.WriteList(File.DirRootExternal & "/SavedGame", "PokerTracker_Stats.txt", List1)
 
Upvote 0
Top