This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
tec_SG's profile picture

[CC1.65][SMP/SSP] Executing commands in ROM/help

Started by tec_SG, 10 December 2014 - 07:43 PM
tec_SG #1
Posted 10 December 2014 - 08:43 PM
VERSION:

CC1.65

DESCRIPTION:

Imposible to execute commands in CraftOS while in folder "ROM/help"

EXPECTED RESULT:

Commands working normally

REPRODUCTION STEPS:


cd ROM/help
cd ..
--gives following error
--bios:366: [string "cd"]:1: '=' expected
ls
--gives following error
--bios:366: [string "list"]:1: '=' expected



SCREENSHOT/VIDEO:

On demand
Edited on 10 December 2014 - 07:44 PM
SquidDev #2
Posted 10 December 2014 - 08:55 PM
It isn't a bug as such. Shell looks in the current folder first when trying to execute a program, so it tries to execute the help file for cd, ls, etc…
The best thing to do is run /rom/programs/cd ../
Lyqyd #3
Posted 10 December 2014 - 10:11 PM
This is not a bug. SquidDev's explanation is correct. There is a chunk of my Computer Basics I tutorial that covers this exact scenario.

Closed.