|
Forum Index : Microcontroller and PC projects : COPY TO command behaving oddly
| Author | Message | ||||
| karjo238 Regular Member Joined: 12/10/2018 Location: New ZealandPosts: 60 |
Hello again! This may be a silly question, but I've tried this a couple of times, and the expected behaviour does not happen. I have a MOD file I'd like to play, so I have it on my SD card, and tried to put it into the internal memory by typing: COPY TITLMUS.MOD TO A: All this does is make a new file on the SD card called 'A'. The contents of the internal memory stay blank. I'm probably typing something wrong but could someone care to enlighten me on what it is?Many thanks, Joseph. |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1671 |
Hi Joseph, MMBasic manual (v4.5) COPY src$ TO dest$ please try this: COPY "TITLMUS.MOD" TO "A:" Regards Michael EDIT: There are many demo programs in the MMBasic Library e.g. MUSIC.BAS. causality ≠ correlation ≠ coincidence |
||||
| karjo238 Regular Member Joined: 12/10/2018 Location: New ZealandPosts: 60 |
Michael - I couldn't get to sleep last night because I figured that I was doing something imbecilic, so at 3am this morning, I went and found the answer. I stumbled upon Nick Marentes programs page, and after examining the File Manager listing, I found the problem, which was the quotes as you have said. After reading the documentation again, and noting it expected a string (as in quotes and all), I went back to my broken sleep wiser, if somewhat tired. Many thanks for the reply. These forums are a godsend for someone like me who is stumbling blindly through some simple issues. Onward and upward! Joseph |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1671 |
I like Nicks page! Maybe you are also interested in a second File Manager (FS)? I made it for my TTF-Maximite and my Duinomites. I don't remember if it handles A-Drive. Take care Michael causality ≠ correlation ≠ coincidence |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |