<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zalerinian</id>
		<title>ComputerCraft Wiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.computercraft.info/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Zalerinian"/>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/Special:Contributions/Zalerinian"/>
		<updated>2026-07-11T10:21:21Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Textutils.slowPrint&amp;diff=2611</id>
		<title>Textutils.slowPrint</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Textutils.slowPrint&amp;diff=2611"/>
				<updated>2012-08-13T19:22:26Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Added the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=textutils.slowPrint&lt;br /&gt;
|args= [[string (type)|string]] text&lt;br /&gt;
|returns=Text printed on the screen&lt;br /&gt;
|api=textutils&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Prints to the screen&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Prints text to the screen, character by character.&lt;br /&gt;
|code=textutils.slowPrint(&amp;quot;Hello World!&amp;quot;)&lt;br /&gt;
|output=Hello, world!&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Textutils.slowWrite&amp;diff=2610</id>
		<title>Textutils.slowWrite</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Textutils.slowWrite&amp;diff=2610"/>
				<updated>2012-08-13T19:21:13Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Made the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=textutils.slowWrite&lt;br /&gt;
|args= [[string (type)|string]] text&lt;br /&gt;
|returns=Text written on the screen&lt;br /&gt;
|api=textutils&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Writes to the screen&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Writes text to the screen, character by character.&lt;br /&gt;
|code=textutils.slowWrite(&amp;quot;Hello World!&amp;quot;)&lt;br /&gt;
|output=Hello, world!&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Os.shutdown&amp;diff=1852</id>
		<title>Os.shutdown</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Os.shutdown&amp;diff=1852"/>
				<updated>2012-06-25T21:42:19Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Added the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=os.shutdown()&lt;br /&gt;
|args=None&lt;br /&gt;
|returns=None&lt;br /&gt;
|api=os&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Shuts down the computer&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=shut Down&lt;br /&gt;
|code=os.shutdown()&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively you could hold ctrl + S for one second to shutdown the computer outside of a program.&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Os.reboot&amp;diff=1851</id>
		<title>Os.reboot</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Os.reboot&amp;diff=1851"/>
				<updated>2012-06-25T21:40:06Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Added the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=os.reboot&lt;br /&gt;
|args=None&lt;br /&gt;
|returns=None&lt;br /&gt;
|api=os&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Restarts the computer&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Restart&lt;br /&gt;
|code=os.reboot()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Turtle.select&amp;diff=1850</id>
		<title>Turtle.select</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Turtle.select&amp;diff=1850"/>
				<updated>2012-06-25T21:34:02Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Added a reference picture for slot numbers&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=turtle.select&lt;br /&gt;
|args=[[int (type)|int]] slotNumber&lt;br /&gt;
|api=turtle&lt;br /&gt;
|returns=[[boolean]] whether the slot number specified is greater than nine or not.&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Attempts to select the specified slot.&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Selects the specified slot&lt;br /&gt;
|code=print(turtle.select(5))&lt;br /&gt;
|output=true&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
A picture reference[http://i.imgur.com/1BNQH.png]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Fs.list&amp;diff=1628</id>
		<title>Fs.list</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Fs.list&amp;diff=1628"/>
				<updated>2012-05-27T16:49:22Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: fixed code error.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=fs.list&lt;br /&gt;
|args=[[string (type)|string]] path&lt;br /&gt;
|api=fs&lt;br /&gt;
|returns=[[table (type)|table]] list of files and folders in &amp;lt;var&amp;gt;path&amp;lt;/var&amp;gt;, which must be a directory&lt;br /&gt;
|desc=Returns a list of all the files contained in a directory as a table&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Displays a list of all files and folders in the root directory of a computer as a table&lt;br /&gt;
|code=abc = fs.list(&amp;quot;&amp;quot;)&lt;br /&gt;
      i = 1&lt;br /&gt;
      while i ~= 15 do&lt;br /&gt;
      print(abc[i])&lt;br /&gt;
      i = i+1&lt;br /&gt;
      end&lt;br /&gt;
&lt;br /&gt;
|output=A list of all files and folders in the root directory as a table&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
abc = fs.list(&amp;quot;&amp;quot;)    &amp;lt;- will get all the files and directories in the system root into a table, all saved as 'abc'.&lt;br /&gt;
&lt;br /&gt;
i = 1                &amp;lt;- sets i equal to one.&lt;br /&gt;
&lt;br /&gt;
while i ~= 15 do    &amp;lt;- While i is not 15, continue to do this.&lt;br /&gt;
&lt;br /&gt;
print(abc[i])        &amp;lt;- print the files and directories.&lt;br /&gt;
&lt;br /&gt;
i = i+1              &amp;lt;- add 1 to i each run so a different file/directory gets listed next.&lt;br /&gt;
&lt;br /&gt;
end                  &amp;lt;- end the loop.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
this code will print 15 lines, blank or not, with the contents of the root directory.&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Fs.list&amp;diff=1627</id>
		<title>Fs.list</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Fs.list&amp;diff=1627"/>
				<updated>2012-05-27T15:30:19Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: fixed my own formatting error.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=fs.list&lt;br /&gt;
|args=[[string (type)|string]] path&lt;br /&gt;
|api=fs&lt;br /&gt;
|returns=[[table (type)|table]] list of files and folders in &amp;lt;var&amp;gt;path&amp;lt;/var&amp;gt;, which must be a directory&lt;br /&gt;
|desc=Returns a list of all the files contained in a directory as a table&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Displays a list of all files and folders in the root directory of a computer as a table&lt;br /&gt;
|code=abc = fs.list(&amp;quot;&amp;quot;)&lt;br /&gt;
      i = 1&lt;br /&gt;
      while i ~= nil do&lt;br /&gt;
      print(abc[i])&lt;br /&gt;
      i = i+1&lt;br /&gt;
      end&lt;br /&gt;
&lt;br /&gt;
|output=A list of all files and folders in the root directory as a table&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
abc = fs.list(&amp;quot;&amp;quot;)    &amp;lt;- will get all the files and directories in the system root into a table, all saved as 'abc'.&lt;br /&gt;
&lt;br /&gt;
i = 1                &amp;lt;- sets i equal to one.&lt;br /&gt;
&lt;br /&gt;
while i ~= nil do    &amp;lt;- While i isn't nil, continue to do this.&lt;br /&gt;
&lt;br /&gt;
print(abc[i])        &amp;lt;- print the files and directories.&lt;br /&gt;
&lt;br /&gt;
i = i+1              &amp;lt;- add 1 to i each run so a different file/directory gets listed next.&lt;br /&gt;
&lt;br /&gt;
end                  &amp;lt;- end the loop.&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Fs.list&amp;diff=1626</id>
		<title>Fs.list</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Fs.list&amp;diff=1626"/>
				<updated>2012-05-27T15:29:39Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Made the cod easier to read and added an explanation of it.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=fs.list&lt;br /&gt;
|args=[[string (type)|string]] path&lt;br /&gt;
|api=fs&lt;br /&gt;
|returns=[[table (type)|table]] list of files and folders in &amp;lt;var&amp;gt;path&amp;lt;/var&amp;gt;, which must be a directory&lt;br /&gt;
|desc=Returns a list of all the files contained in a directory as a table&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Displays a list of all files and folders in the root directory of a computer as a table&lt;br /&gt;
|code=abc = fs.list(&amp;quot;&amp;quot;)&lt;br /&gt;
      i = 1&lt;br /&gt;
      while i ~= nil do&lt;br /&gt;
      print(abc[i])&lt;br /&gt;
      i = i+1&lt;br /&gt;
      end&lt;br /&gt;
&lt;br /&gt;
|output=A list of all files and folders in the root directory as a table&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
abc = fs.list(&amp;quot;&amp;quot;)    &amp;lt;- will get all the files and directories in the system root into a table, all saved as 'abc'.&lt;br /&gt;
i = 1                &amp;lt;- sets i equal to one.&lt;br /&gt;
while i ~= nil do    &amp;lt;- While i isn't nil, continue to do this.&lt;br /&gt;
print(abc[i])        &amp;lt;- print the files and directories.&lt;br /&gt;
i = i+1              &amp;lt;- add 1 to i each run so a different file/directory gets listed next.&lt;br /&gt;
end                  &amp;lt;- end the loop.&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Fs_(API)&amp;diff=1621</id>
		<title>Fs (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Fs_(API)&amp;diff=1621"/>
				<updated>2012-05-26T15:34:30Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Made the last paragraph in the Path Names section many times easier to understand.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The FS API allows you to mess around with the filesystem.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|[[fs.list]](path)&lt;br /&gt;
|Lists the directories and files in the given directory&lt;br /&gt;
|-&lt;br /&gt;
|[[fs.exists]](path)&lt;br /&gt;
|Checks if a path refers to an existing file or directory&lt;br /&gt;
|-&lt;br /&gt;
|[[fs.isDir]](path)&lt;br /&gt;
|Checks if a path refers to an existing directory&lt;br /&gt;
|-&lt;br /&gt;
|[[fs.isReadOnly]](path)&lt;br /&gt;
|Checks if a path is read-only (i.e. cannot be modified)&lt;br /&gt;
|-&lt;br /&gt;
|[[fs.getName]](path)&lt;br /&gt;
|Gets the final component of a pathname&lt;br /&gt;
|-&lt;br /&gt;
|[[fs.getDrive]](path)&lt;br /&gt;
|Gets the type of storage medium holding a file or directory&lt;br /&gt;
|-&lt;br /&gt;
|[[fs.makeDir]](path)&lt;br /&gt;
|Makes a directory&lt;br /&gt;
|-&lt;br /&gt;
|[[fs.move]](fromPath, toPath)&lt;br /&gt;
|Moves a file or directory to a new location&lt;br /&gt;
|-&lt;br /&gt;
|[[fs.copy]](fromPath, toPath)&lt;br /&gt;
|Copies a file or directory to a new location&lt;br /&gt;
|-&lt;br /&gt;
|[[fs.delete]](path)&lt;br /&gt;
|Deletes a file or directory&lt;br /&gt;
|-&lt;br /&gt;
|[[fs.combine]](basePath, localPath)&lt;br /&gt;
|Combines two path components, returning a path consisting of the local path nested inside the base path&lt;br /&gt;
|-&lt;br /&gt;
|[[fs.open]](path, mode)&lt;br /&gt;
|Opens a file so it can be read or written&lt;br /&gt;
|}&lt;br /&gt;
[[Category:APIs]]&lt;br /&gt;
&lt;br /&gt;
== Path Names ==&lt;br /&gt;
&lt;br /&gt;
All of these functions except for [[fs.combine]] refer solely to &amp;lt;em&amp;gt;absolute paths&amp;lt;/em&amp;gt;. This means that the current working directory, as set by the &amp;lt;code&amp;gt;cd&amp;lt;/code&amp;gt; command or the [[shell.setDir]] function, is ignored. Each path name consists of a list of nonempty path components separated by forward slashes, and those path components are taken one by one with the first being contained in the root directory of the computer.&lt;br /&gt;
&lt;br /&gt;
If you need to deal with paths provided by the user that may be absolute or may be relative to the current working directory, use [[shell.resolve]].&lt;br /&gt;
&lt;br /&gt;
Unlike most real-world operating systems, ComputerCraft's absolute path name system does not need to be started with a forward slash ( / ). Making the directory &amp;quot;a/b/c&amp;quot; is the same as making &amp;quot;/a/b/c&amp;quot;. Leaving the slashes is just a matter of preference to the coder.&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Fs.open&amp;diff=1619</id>
		<title>Fs.open</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Fs.open&amp;diff=1619"/>
				<updated>2012-05-25T16:14:14Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Fixed a link&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=fs.open&lt;br /&gt;
|args=[[string (type)|string]] path, [[string (type)|string]]&lt;br /&gt;
 mode&lt;br /&gt;
|api=fs&lt;br /&gt;
|returns=[[table]] the file handle, or &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt; if the mode was read-only or the file did not exist&lt;br /&gt;
|desc=Opens a file; &amp;lt;var&amp;gt;mode&amp;lt;/var&amp;gt; consists of a first character which is one of &lt;br /&gt;
&amp;quot;r&amp;quot; to open the file read-only, &lt;br /&gt;
&lt;br /&gt;
&amp;quot;w&amp;quot; to open it for writing and remove any existing data, or &lt;br /&gt;
&lt;br /&gt;
&amp;quot;a&amp;quot; to open for writing but keep existing data and append any writes to the end of the file, plus optionally the second character &lt;br /&gt;
&lt;br /&gt;
&amp;quot;b&amp;quot; to open the file for binary access instead of text access &lt;br /&gt;
(text mode will perform end-of-line conversions necessary to move text files between Windows, Linux, and Mac OS systems; binary files should not have these conversions applied as they will be corrupted)&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Creates the file &amp;quot;abcd&amp;quot; and holds a file handle to it&lt;br /&gt;
|code=h = fs.open(&amp;quot;abcd&amp;quot;, &amp;quot;w&amp;quot;)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== File Handles ==&lt;br /&gt;
&lt;br /&gt;
A file handle allows access to a file. A file handle is a table; the functions within the table are accessed with the dot operator (&amp;lt;em&amp;gt;not&amp;lt;/em&amp;gt; the colon operator, as may be more intuitive!). The examples below assume a file has already been opened and the handle stored in the variable &amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Files opened in text read mode ===&lt;br /&gt;
&lt;br /&gt;
A file opened in mode &amp;quot;r&amp;quot; (text read mode) exposes the following functions.&lt;br /&gt;
&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.readLine&lt;br /&gt;
|api=fs&lt;br /&gt;
|returns=[[string]] the next line read from the file, with the end-of-line character stripped; or nil if there are no more lines in the file&lt;br /&gt;
|desc=Reads the next line from the file&lt;br /&gt;
}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.readAll&lt;br /&gt;
|api=fs&lt;br /&gt;
|returns=[[string]] the entire rest of the file, with the end-of-line character on the very last line (if present) stripped&lt;br /&gt;
|desc=Reads the rest of the text in the file&lt;br /&gt;
}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.close&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Closes the file handle, after which it can no longer be used&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Files opened in text write/append mode ===&lt;br /&gt;
&lt;br /&gt;
A file opened in mode &amp;quot;w&amp;quot; (text write mode) or &amp;quot;a&amp;quot; (text append mode) exposes the following functions:&lt;br /&gt;
&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.write&lt;br /&gt;
|args=[[string (type)|string]] data&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Writes a string of characters to the file exactly as they appear in the string &amp;lt;var&amp;gt;data&amp;lt;/var&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.writeLine&lt;br /&gt;
|args=[[string (type)|string]] data&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Writes a string of characters to the file, then appends an end-of-line character&lt;br /&gt;
}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.close&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Closes the file handle, after which it can no longer be used&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Files opened in binary read mode ===&lt;br /&gt;
&lt;br /&gt;
A file opened in mode &amp;quot;rb&amp;quot; (binary read mode) exposes the following functions:&lt;br /&gt;
&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.read&lt;br /&gt;
|api=fs&lt;br /&gt;
|returns=[[int]] the byte read from the file, or &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt; if there are no more bytes&lt;br /&gt;
|desc=Reads a single byte from the file and returns it&lt;br /&gt;
}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.close&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Closes the file handle, after which it can no longer be used&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Files opened in binary write/append mode ===&lt;br /&gt;
&lt;br /&gt;
A file opened in mode &amp;quot;wb&amp;quot; (binary write mode) or &amp;quot;ab&amp;quot; (binary append mode) exposes the following functions:&lt;br /&gt;
&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.write&lt;br /&gt;
|args=[[int]] byte&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Writes a single byte into the file&lt;br /&gt;
}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.close&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Closes the file handle, after which it can no longer be used&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Fs.open&amp;diff=1618</id>
		<title>Fs.open</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Fs.open&amp;diff=1618"/>
				<updated>2012-05-25T16:10:51Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Reformatted the description&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=fs.open&lt;br /&gt;
|args=[[string (type)|string]] path, [[string(type)|string]] mode&lt;br /&gt;
|api=fs&lt;br /&gt;
|returns=[[table]] the file handle, or &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt; if the mode was read-only or the file did not exist&lt;br /&gt;
|desc=Opens a file; &amp;lt;var&amp;gt;mode&amp;lt;/var&amp;gt; consists of a first character which is one of &lt;br /&gt;
&amp;quot;r&amp;quot; to open the file read-only, &lt;br /&gt;
&lt;br /&gt;
&amp;quot;w&amp;quot; to open it for writing and remove any existing data, or &lt;br /&gt;
&lt;br /&gt;
&amp;quot;a&amp;quot; to open for writing but keep existing data and append any writes to the end of the file, plus optionally the second character &lt;br /&gt;
&lt;br /&gt;
&amp;quot;b&amp;quot; to open the file for binary access instead of text access &lt;br /&gt;
(text mode will perform end-of-line conversions necessary to move text files between Windows, Linux, and Mac OS systems; binary files should not have these conversions applied as they will be corrupted)&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Creates the file &amp;quot;abcd&amp;quot; and holds a file handle to it&lt;br /&gt;
|code=h = fs.open(&amp;quot;abcd&amp;quot;, &amp;quot;w&amp;quot;)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== File Handles ==&lt;br /&gt;
&lt;br /&gt;
A file handle allows access to a file. A file handle is a table; the functions within the table are accessed with the dot operator (&amp;lt;em&amp;gt;not&amp;lt;/em&amp;gt; the colon operator, as may be more intuitive!). The examples below assume a file has already been opened and the handle stored in the variable &amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Files opened in text read mode ===&lt;br /&gt;
&lt;br /&gt;
A file opened in mode &amp;quot;r&amp;quot; (text read mode) exposes the following functions.&lt;br /&gt;
&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.readLine&lt;br /&gt;
|api=fs&lt;br /&gt;
|returns=[[string]] the next line read from the file, with the end-of-line character stripped; or nil if there are no more lines in the file&lt;br /&gt;
|desc=Reads the next line from the file&lt;br /&gt;
}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.readAll&lt;br /&gt;
|api=fs&lt;br /&gt;
|returns=[[string]] the entire rest of the file, with the end-of-line character on the very last line (if present) stripped&lt;br /&gt;
|desc=Reads the rest of the text in the file&lt;br /&gt;
}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.close&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Closes the file handle, after which it can no longer be used&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Files opened in text write/append mode ===&lt;br /&gt;
&lt;br /&gt;
A file opened in mode &amp;quot;w&amp;quot; (text write mode) or &amp;quot;a&amp;quot; (text append mode) exposes the following functions:&lt;br /&gt;
&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.write&lt;br /&gt;
|args=[[string (type)|string]] data&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Writes a string of characters to the file exactly as they appear in the string &amp;lt;var&amp;gt;data&amp;lt;/var&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.writeLine&lt;br /&gt;
|args=[[string (type)|string]] data&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Writes a string of characters to the file, then appends an end-of-line character&lt;br /&gt;
}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.close&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Closes the file handle, after which it can no longer be used&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Files opened in binary read mode ===&lt;br /&gt;
&lt;br /&gt;
A file opened in mode &amp;quot;rb&amp;quot; (binary read mode) exposes the following functions:&lt;br /&gt;
&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.read&lt;br /&gt;
|api=fs&lt;br /&gt;
|returns=[[int]] the byte read from the file, or &amp;lt;code&amp;gt;nil&amp;lt;/code&amp;gt; if there are no more bytes&lt;br /&gt;
|desc=Reads a single byte from the file and returns it&lt;br /&gt;
}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.close&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Closes the file handle, after which it can no longer be used&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Files opened in binary write/append mode ===&lt;br /&gt;
&lt;br /&gt;
A file opened in mode &amp;quot;wb&amp;quot; (binary write mode) or &amp;quot;ab&amp;quot; (binary append mode) exposes the following functions:&lt;br /&gt;
&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.write&lt;br /&gt;
|args=[[int]] byte&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Writes a single byte into the file&lt;br /&gt;
}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=&amp;lt;var&amp;gt;h&amp;lt;/var&amp;gt;.close&lt;br /&gt;
|api=fs&lt;br /&gt;
|desc=Closes the file handle, after which it can no longer be used&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Term.restore&amp;diff=1585</id>
		<title>Term.restore</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Term.restore&amp;diff=1585"/>
				<updated>2012-05-20T14:58:08Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Created page with &amp;quot;{{lowercase}} {{Function |name=term.write |args= string none |returns=Nothing |api=term |addon=ComputerCraft |desc=Restores the program from running on a mon...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=term.write&lt;br /&gt;
|args= [[string (type)|string]] none&lt;br /&gt;
|returns=Nothing&lt;br /&gt;
|api=term&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Restores the program from running on a monitor to run on the computer&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Restores a program to the computer. &lt;br /&gt;
This will only work if the computer was running a program on a monitor&lt;br /&gt;
|code=term.restore()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Shell_(API)&amp;diff=1497</id>
		<title>Shell (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Shell_(API)&amp;diff=1497"/>
				<updated>2012-05-06T12:09:17Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: fixed an error&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The shell API allows you to interface with the [http://en.wikipedia.org/wiki/Shell_%28computing%29 shell].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|shell.exit()&lt;br /&gt;
|Exits the program&lt;br /&gt;
|-&lt;br /&gt;
|shell.dir()&lt;br /&gt;
|Returns the directory&lt;br /&gt;
|-&lt;br /&gt;
|shell.setDir( path )&lt;br /&gt;
|Sets the directory&lt;br /&gt;
|-&lt;br /&gt;
|shell.path()&lt;br /&gt;
|Returns the path&lt;br /&gt;
|-&lt;br /&gt;
|shell.setPath( path )&lt;br /&gt;
|Sets the path&lt;br /&gt;
|-&lt;br /&gt;
|shell.resolve( localpath )&lt;br /&gt;
|&amp;lt;no description given&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|shell.resolveProgram( name )&lt;br /&gt;
|&amp;lt;no description given&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|shell.aliases()&lt;br /&gt;
|Returns aliases.&lt;br /&gt;
|-&lt;br /&gt;
|shell.setAlias( alias, command )&lt;br /&gt;
|Sets an alias.&lt;br /&gt;
|-&lt;br /&gt;
|shell.clearAlias( alias, command )&lt;br /&gt;
|Clears an alias.&lt;br /&gt;
|-&lt;br /&gt;
|shell.programs()&lt;br /&gt;
|Returns programs.&lt;br /&gt;
|-&lt;br /&gt;
|shell.run( program, arguments )&lt;br /&gt;
|Runs a program.&lt;br /&gt;
|-&lt;br /&gt;
|shell.getRunningProgram()&lt;br /&gt;
|Returns the absolute path to the currently-executing program.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User:Zalerinian&amp;diff=1494</id>
		<title>User:Zalerinian</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User:Zalerinian&amp;diff=1494"/>
				<updated>2012-05-06T05:52:09Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Personal Quote: Potato&lt;br /&gt;
--[[User:Zalerinian|  ~Z]] 05:52, 6 May 2012 (UTC)&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=User:Zalerinian&amp;diff=1493</id>
		<title>User:Zalerinian</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=User:Zalerinian&amp;diff=1493"/>
				<updated>2012-05-06T05:45:45Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Created page with &amp;quot;Personal Quote: Potato --~~~~&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Personal Quote: Potato&lt;br /&gt;
--[[User:Zalerinian|Zalerinian]] 05:45, 6 May 2012 (UTC)&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Term_(API)&amp;diff=1492</id>
		<title>Term (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Term_(API)&amp;diff=1492"/>
				<updated>2012-05-06T05:43:32Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Added pages for term.write and term.clear&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Terminal API provides functions for ASCII graphics.&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|[http://computercraft.info/wiki/index.php?title=Term.write() term.write( text )]&lt;br /&gt;
|Writes text to the screen.&lt;br /&gt;
|-&lt;br /&gt;
|[http://computercraft.info/wiki/index.php?title=Term.clear() term.clear()]&lt;br /&gt;
|Clears the entire screen&lt;br /&gt;
|-&lt;br /&gt;
|term.clearLine()&lt;br /&gt;
|Clears the line the cursor is on&lt;br /&gt;
|-&lt;br /&gt;
|term.getCursorPos()&lt;br /&gt;
|Returns two arguments containing the x and the y position of the cursor&lt;br /&gt;
|-&lt;br /&gt;
|term.setCursorPos( x, y )&lt;br /&gt;
|Sets the cursor's position.&lt;br /&gt;
|-&lt;br /&gt;
|term.setCursorBlink( b )&lt;br /&gt;
|Disables the blinking or turns it on.&lt;br /&gt;
|-&lt;br /&gt;
|term.getSize()&lt;br /&gt;
|Returns two arguments containing the x and the y values stating the size of the screen. (Good for if you're making something to be compatible with both [[Turtles]] and [[Consoles]].&lt;br /&gt;
|-&lt;br /&gt;
|term.scroll( n )&lt;br /&gt;
|Scrolls the terminal.&lt;br /&gt;
|-&lt;br /&gt;
|term.redirect( side )&lt;br /&gt;
|Redirects terminal output to a monitor.&lt;br /&gt;
|-&lt;br /&gt;
|term.restore()&lt;br /&gt;
|Restores terminal output to the console.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Term.write&amp;diff=1491</id>
		<title>Term.write</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Term.write&amp;diff=1491"/>
				<updated>2012-05-06T05:42:53Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Term.write() page added.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=term.write&lt;br /&gt;
|args= [[string (type)|string]] text&lt;br /&gt;
|returns=Text written on the screen&lt;br /&gt;
|api=term&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Writes to the screen&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Writes text to the screen. &lt;br /&gt;
This does not produce a new line, and anything else printed or written after this will be on the same line.&lt;br /&gt;
|code=term.write(&amp;quot;text&amp;quot;)&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Term.clear&amp;diff=1490</id>
		<title>Term.clear</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Term.clear&amp;diff=1490"/>
				<updated>2012-05-06T05:31:13Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: Added Page for Term.clear&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{lowercase}}&lt;br /&gt;
{{Function&lt;br /&gt;
|name=term.clear&lt;br /&gt;
|args=none&lt;br /&gt;
|returns=none&lt;br /&gt;
|api=term&lt;br /&gt;
|addon=ComputerCraft&lt;br /&gt;
|desc=Clears the screen&lt;br /&gt;
|examples=&lt;br /&gt;
{{Example&lt;br /&gt;
|desc=Clears any text on the console or monitor.&lt;br /&gt;
|code=term.clear()&lt;br /&gt;
}}&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Shell_(API)&amp;diff=1488</id>
		<title>Shell (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Shell_(API)&amp;diff=1488"/>
				<updated>2012-05-06T05:23:34Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The shell API allows you to interface with the [http://en.wikipedia.org/wiki/Shell_%28computing%29 shell].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|shell.exit()&lt;br /&gt;
|Exits the program&lt;br /&gt;
|-&lt;br /&gt;
|shell.dir()&lt;br /&gt;
|Returns the directory&lt;br /&gt;
|-&lt;br /&gt;
|shell.setDir( path )&lt;br /&gt;
|Sets the directory&lt;br /&gt;
|-&lt;br /&gt;
|shell.path()&lt;br /&gt;
|Returns the path&lt;br /&gt;
|-&lt;br /&gt;
|shell.setPath( path )&lt;br /&gt;
|Sets the path&lt;br /&gt;
|-&lt;br /&gt;
|shell.resolve( localpath )&lt;br /&gt;
|&amp;lt;no description given&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|shell.resolveProgram( name )&lt;br /&gt;
|&amp;lt;no description given&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|shell.aliases()&lt;br /&gt;
|Returns aliases.&lt;br /&gt;
|-&lt;br /&gt;
|shell.setAlias( alias, command )&lt;br /&gt;
|Sets an alias.&lt;br /&gt;
|-&lt;br /&gt;
|shell.clearAlias( alias, command )&lt;br /&gt;
|Clears an alias.&lt;br /&gt;
|-&lt;br /&gt;
|shell.programs()&lt;br /&gt;
|Returns programs.&lt;br /&gt;
|-&lt;br /&gt;
|shell.run( program, arguments )&lt;br /&gt;
|Runs a program.&lt;br /&gt;
|-&lt;br /&gt;
|shell.getRunningProgram()&lt;br /&gt;
|Returns the absolute path to the currently-executing program.&lt;br /&gt;
|-&lt;br /&gt;
|[[shell.setDiskBootPassword|shell.setDiskBootPassword(&amp;quot;Password&amp;quot;)]]&lt;br /&gt;
|Sets a password that is required to boot from a disk.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	<entry>
		<id>https://www.computercraft.info/wiki/index.php?title=Shell_(API)&amp;diff=1487</id>
		<title>Shell (API)</title>
		<link rel="alternate" type="text/html" href="https://www.computercraft.info/wiki/index.php?title=Shell_(API)&amp;diff=1487"/>
				<updated>2012-05-06T05:09:12Z</updated>
		
		<summary type="html">&lt;p&gt;Zalerinian: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The shell API allows you to interface with the [http://en.wikipedia.org/wiki/Shell_%28computing%29 shell].&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;2&amp;quot; cellspacing=&amp;quot;0&amp;quot;&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;200px&amp;quot;|Method name&lt;br /&gt;
!style=&amp;quot;background:#EEE&amp;quot; width=&amp;quot;*&amp;quot;|Description&lt;br /&gt;
|-&lt;br /&gt;
|shell.exit()&lt;br /&gt;
|Exits the program&lt;br /&gt;
|-&lt;br /&gt;
|shell.dir()&lt;br /&gt;
|Returns the directory&lt;br /&gt;
|-&lt;br /&gt;
|shell.setDir( path )&lt;br /&gt;
|Sets the directory&lt;br /&gt;
|-&lt;br /&gt;
|shell.path()&lt;br /&gt;
|Returns the path&lt;br /&gt;
|-&lt;br /&gt;
|shell.setPath( path )&lt;br /&gt;
|Sets the path&lt;br /&gt;
|-&lt;br /&gt;
|shell.resolve( localpath )&lt;br /&gt;
|&amp;lt;no description given&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|shell.resolveProgram( name )&lt;br /&gt;
|&amp;lt;no description given&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|shell.aliases()&lt;br /&gt;
|Returns aliases.&lt;br /&gt;
|-&lt;br /&gt;
|shell.setAlias( alias, command )&lt;br /&gt;
|Sets an alias.&lt;br /&gt;
|-&lt;br /&gt;
|shell.clearAlias( alias, command )&lt;br /&gt;
|Clears an alias.&lt;br /&gt;
|-&lt;br /&gt;
|shell.programs()&lt;br /&gt;
|Returns programs.&lt;br /&gt;
|-&lt;br /&gt;
|shell.run( program, arguments )&lt;br /&gt;
|Runs a program.&lt;br /&gt;
|-&lt;br /&gt;
|shell.getRunningProgram()&lt;br /&gt;
|Returns the absolute path to the currently-executing program.&lt;br /&gt;
|-&lt;br /&gt;
|shell.setBootDiskPassword(&amp;quot;Password&amp;quot;)&lt;br /&gt;
|Sets a password that is required to boot from a disk.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:APIs]]&lt;/div&gt;</summary>
		<author><name>Zalerinian</name></author>	</entry>

	</feed>