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

How do i make a .txt doc to a file (The filetype apis are)

Started by sjele, 13 August 2012 - 05:09 PM
sjele #1
Posted 13 August 2012 - 07:09 PM
Title says it all.
When i list apis, my own api is listed as sjturtle.txt, when file name is sjTurtle. How do i make a text file like any other apis file.
ardera #2
Posted 13 August 2012 - 07:10 PM
do you mean you want to rename the file? ingame its "rename <name> <thenewname>"
sjele #3
Posted 13 August 2012 - 07:16 PM
I made my own api. The file name is sjTurtle. When i do apis on computer in game, it is listed as sjTurtle
http://i1182.photobucket.com/albums/x444/sjele/problem.png

That is how my apis folder looks like.
When i do apis on my computer in-game it is listed as sjTurtle.txt
I need it to be the same format as the other apis.
D3matt #4
Posted 13 August 2012 - 07:20 PM
Remove the file extension. It's not the same format because it's not the same file.

To do this you need to go to Folder and Search options, and uncheck Hide File Extensions for Known File Types. This is generally something I think people should do anyway.
sjele #5
Posted 13 August 2012 - 07:21 PM
How would i do that?
<– Is a noob at computers
D3matt #6
Posted 13 August 2012 - 07:29 PM
Google is and always will be your friend.
sjele #7
Posted 13 August 2012 - 07:30 PM
I have been trying, but can't get open the toolbar every answer is talking about.


Finaly fixed it.
Thanks
D3matt #8
Posted 14 August 2012 - 10:16 AM
Probably were looking at answers for the wrong operating system. Looks like you're using XP?

Ah, glad you fixed it. That's one of the first settings I change upon installing an operating system.
makerimages #9
Posted 14 August 2012 - 11:20 AM
SAVE IT AS "filename" WITH the "-s
sjele #10
Posted 14 August 2012 - 01:09 PM
I got it now. One problem was the translations on how to do it. My pc was on norwegian. so i had a hard time finding what to un-check in the setting thingy :P/>/>