You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/crystal-chips/cc-scripting.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -298,7 +298,8 @@ To create a new folder.
298
298
299
299
will create a folder MYFOLDER in the USB mass storage.
300
300
301
-
Note: MKDIR will not create mutliple folders for example:
301
+
Note: MKDIR will not create mutliple folders for example if MYFOLDER, FOLDER and FOLDER3 do not exist:
302
+
302
303
```
303
304
IF NOT EXISTS "mass:/MYFOLDER/FOLDER2/FOLDER3"
304
305
IF FAIL MKDIR "mass:/MYFOLDER/FOLDER2/FOLDER3"
@@ -309,7 +310,9 @@ ENDIF
309
310
310
311
The workaround is to exploit a bug that thinks it failed
311
312
312
-
```COPY $PWD$ "mass:/MYFOLDER/MYFOLDER2/MYFOLDER3"``` DO NOT PRECEDE WITH `IF FAIL` as it does think it failed. Contents of folders will not be harmed in my testing if some of it exists.
0 commit comments