Skip to content

Commit 331ef2a

Browse files
committed
Update cc-scripting.md
1 parent 8c10287 commit 331ef2a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

docs/crystal-chips/cc-scripting.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,8 @@ To create a new folder.
298298

299299
will create a folder MYFOLDER in the USB mass storage.
300300

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+
302303
```
303304
IF NOT EXISTS "mass:/MYFOLDER/FOLDER2/FOLDER3"
304305
IF FAIL MKDIR "mass:/MYFOLDER/FOLDER2/FOLDER3"
@@ -309,7 +310,9 @@ ENDIF
309310

310311
The workaround is to exploit a bug that thinks it failed
311312

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.
313+
```COPY $PWD$ "mass:/MYFOLDER/MYFOLDER2/MYFOLDER3"```
314+
315+
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.
313316

314317

315318
#### REDIRFILE

0 commit comments

Comments
 (0)