|
Forum Index : Microcontroller and PC projects : Picomite disc operations - help needed
| Author | Message | ||||
| homa Guru Joined: 05/11/2021 Location: GermanyPosts: 496 |
Hello, who can help me with the file operations with the Pico? In the draft user manual for Beta (5.08.00b5) it says on page 90: The special entry "." represents the parent of the current directory and "." represents the current directory. "/" is the root directory. How are parent and current distinguished? I also cannot copy all files from a directory on the SDcard to the internal memory A: with one command! copy b2a "*" to "." Error : The path name format is invalid Please help me. Examples are welcome. Thank you very much! |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10637 |
Looks like a typo - parent should be ".." as per standard Don't use B2A etc. these version don't support wildcards e.g. assuming current disk is "A:" COPY "B:/*.bas" to "." Edited 2023-12-24 21:38 by matherp |
||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3308 |
Yes, I only discovered this typo a few hours ago (serendipity?) The parent should be ".." Geoff Geoff Graham - http://geoffg.net |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10637 |
Geoff The A2A etc versions are redundant as you can now use the disk designator in the copy command. They also don't have the bulk copy capability so I would propose you remove them from the manual and I'll get rid in the firmware |
||||
| homa Guru Joined: 05/11/2021 Location: GermanyPosts: 496 |
ThxEdited 2023-12-25 00:27 by homa |
||||
| Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3308 |
Will do. Geoff Graham - http://geoffg.net |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |