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

How Do I Label A Floppy?

Started by TheTalon, 26 February 2012 - 06:56 PM
TheTalon #1
Posted 26 February 2012 - 07:56 PM
I have tried using the label command but I always label my computer like /disk *name of file* when I want to set the name of the disk and not the computer. So what would the propper syntax of the command be? I used "label set /disk *file name*" and that just as I've said, named my computer /disk *file name*. I've also tried with no space between set and /disk and also using the disk's directory to run that command.
Hawk777 #2
Posted 26 February 2012 - 07:59 PM
You don't use "/disk", you use the direction in which the drive is attached. If you want to label a floppy inserted into a drive on the left side of the computer with the name "foobar", use "label left foobar".
TheTalon #3
Posted 26 February 2012 - 08:03 PM
Well that works but it says there no disk in that drive even through i tried all directions and even tried moving it.
Hawk777 #4
Posted 26 February 2012 - 08:05 PM
Whoops, I meant "label set left foobar"; there's a "set" in there. The directions are "left", "right", "front", "back", "top", and "bottom", by the way.
TheTalon #5
Posted 26 February 2012 - 08:09 PM
I used set in there. I tried using "label set *all directions* *name*" but it never worked its giving me the no disk in that direction but there is a floppy disk that ive changed out a few times in the drive. Is it bugged in multiplayer or somthing?
Hawk777 #6
Posted 26 February 2012 - 08:19 PM
Works for me; see attached.
TheTalon #7
Posted 26 February 2012 - 08:40 PM
I had the stuff set up exactly as you did but its still not working.[attachment=47:2.png][attachment=48:3.png]
Hawk777 #8
Posted 26 February 2012 - 09:25 PM
That's very strange. No idea, sorry. :D/>/>
Wired2coffee #9
Posted 29 February 2012 - 01:05 PM
Try this in lua, disk.setLabel( sDrive, sText )
disk.setLabel("side","foobar")
Casper7526 #10
Posted 29 February 2012 - 01:12 PM
It's because you havn't updated to the fix version of 1.3

Shortly after 1.3 was released there was a bug found having to do with floppies, the download link had this bugged version for about an hour or two.

Re-Download 1.3 from MCF.