This is a read-only snapshot of
the ComputerCraft forums
, taken in April 2020.
ComputerCraft
→
Ask a Pro
Question about copying files?
Started by jackinthebox, 28 June 2012 - 10:10 PM
jackinthebox
#1
1 posts
Posted 29 June 2012 - 12:10 AM
How would I get my startup program on my disk to a computer? Also what is the main computers directory called?, like how you can go "cd disk" and get to disk how do you go back? Thanks!
MysticT
#2
1604 posts
Posted 29 June 2012 - 12:46 AM
To copy the file:
> cp /disk/<FileName> <FileName>
To go back to the root directory just type:
> cd /