Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 01:38 27 Nov 2024 Privacy Policy
Jump to

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: Germany
Posts: 351
Posted: 10:27am 24 Dec 2023
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 9118
Posted: 11:14am 24 Dec 2023
Copy link to clipboard 
Print this post

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: Australia
Posts: 3194
Posted: 12:06pm 24 Dec 2023
Copy link to clipboard 
Print this post

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 Kingdom
Posts: 9118
Posted: 12:28pm 24 Dec 2023
Copy link to clipboard 
Print this post

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: Germany
Posts: 351
Posted: 02:26pm 24 Dec 2023
Copy link to clipboard 
Print this post

  matherp said  
Don't use B2A etc. these version don't support wildcards

e.g. assuming current disk is "A:"

COPY "B:/*.bas" to "."


Thx
Edited 2023-12-25 00:27 by homa
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 03:41am 25 Dec 2023
Copy link to clipboard 
Print this post

  matherp said  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

Will do.
Geoff Graham - http://geoffg.net
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024