New Text file

Dogbonesix

Active Member
Licensed User
Longtime User
I would like to copy the ClipBoard text to a new text file - I have tried (with the StringUtilities open):

Dim f2 As String
f2 = "/mnt/sdcard/Hyper-X/Reports"
File.WriteString(f2, "String.txt", "This is some string" & CRLF & "and this is another one.")

Which seems simple but when I run same all I get is "No such file or directory".

I use the same path in this way: StringUtils1.SaveCSV2(f2, "Calendar.txt", Chr(9), list1, headers) without any problem. What am I doing wrong?

Why does File.WriteString fail but StringUtils1.SaveCSV2 is successful?

Thanks
 
Top