I am opening the file for append, so that it should get created if it doesn't exist and append to the file if it does.
My code:
dim datastring as string
datastring = "02/15/15,01:00,03:00,567,testing equipment"
File.OpenOutput(File.DirRootExternal,"mydata.txt",1)
File.WriteString(File.DirRootExternal,"mydata.txt", datastring)
I have also tried the File.DirDefaultExternal in place of File.DirRootExternal and it doesn't give me the results I think it should or write the file anyplace on my device.