Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • Announcements

    • Lizzy Trickster

      Latest Stable OpenComputers Version   11/26/16

      The latest released version of OpenComputers is version 1.7.1 for MC 1.7.10, 1.10.2, 1.11.2 & 1.12.1. See more information here! Beta/Dev builds can be found at the Jenkins Build Server (ci.cil.li)
    • Lizzy Trickster

      !!FORUM DOWNTIME!!   01/16/18

      On 2018-01-27 the forums will be going down at around 1100 GMT0 for up-to 5 hours to allow for hardware configuration changes on the system that hosts these forums as well as various updates to patch recently publicised CPU vulnerabilities. Apologies for the inconvenience that this will cause.  If you would like to keep up-to-date on the progress of the work, join our IRC channel (http://webchat.esper.net/?nick=&channels=oc) or our Discord ( https://discord.gg/0hVukoQ2KYifZFCA ).

ThiagoFonseca

Members
  • Content count

    2
  • Joined

  • Last visited

About ThiagoFonseca

  • Rank
    Junior Member

Contact Methods

  • Minecraft
    ThiagoFonseca
  1. Get the path and filename of current executing program

    Worked! But to get the exact result that I was aiming for I had to use shell.resolve(process.info().path) This returns me the full path of the file with extension
  2. In computercraft there is this command: shell.getRunningProgram() This command returns the path and filename of the program that executed it. I wonder if there's a command in OpenComputers that does the same
×