Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Picomite disc operations - help needed
Author | Message | ||||
homa Guru Joined: 05/11/2021 Location: GermanyPosts: 351 |
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: 9118 |
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: 3194 |
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: 9118 |
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: 351 |
Thx Edited 2023-12-25 00:27 by homa |
||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
Will do. Geoff Graham - http://geoffg.net |
||||
Print this page |