Post Reply 
50G: SD card commands
05-08-2015, 01:47 PM
Post: #2
RE: 50G: SD card commands
(05-08-2015 12:44 PM)Dave Britten Wrote:  Does the 50G have commands for working with files on the SD card? I mainly need to be able to check if a file exists, and also copy and/or rename a file without copying the entire file contents to main memory (which might not have enough space free to hold the entire file). This is mostly for manipulating backup files.

Use VTYPE to test if a file exists in the SD card. Example:
':3:FOO' VTYPE
returns the file type if it exists, or -1 if it does not exist.

The RENAME function does not work on SD card files. However, there are libraries that include rename functions for SD card files. One such library is SDFiler by Tim Wessman and Claudio Daniel Lapilli.

<0|ΙΈ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
50G: SD card commands - Dave Britten - 05-08-2015, 12:44 PM
RE: 50G: SD card commands - Joe Horn - 05-08-2015 01:47 PM
RE: 50G: SD card commands - Dave Britten - 05-08-2015, 02:00 PM
RE: 50G: SD card commands - Joe Horn - 05-08-2015, 04:03 PM
RE: 50G: SD card commands - Dave Britten - 05-08-2015, 05:35 PM



User(s) browsing this thread: 1 Guest(s)