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

How do I re-name a program?

Started by jcat321, 29 June 2012 - 01:01 PM
jcat321 #1
Posted 29 June 2012 - 03:01 PM
Simple question.

If it's not possible, then is there a way to make a new program and 'copy and paste' (or an equivilant) the script into that instead?
OmegaVest #2
Posted 29 June 2012 - 03:23 PM
Hmm. Yes. There is. Use this in the shell.


cp [oldprogram] [newprogram]

Sans brackets. Make sure you are in the same directory.

When done, delete the old program name. And viola.
tfoote #3
Posted 29 June 2012 - 04:31 PM
go to the computer's folder (.minecraft/save/computers/computer #) Then right click the program and hit rename
MysticT #4
Posted 29 June 2012 - 04:45 PM
Well, that's what the rename program is for:
> rename <OldName> <NewName>