Jump to content




I wanna install disk


  • You cannot reply to this topic
2 replies to this topic

#1 tbyoran

  • Members
  • 16 posts

Posted 07 August 2012 - 09:28 AM

How can i am make install disk.
Example:

[disk dir]

startup , pr

[disk startup]
Copy pr from disk to computer.


How can i am make Copy from disk to computer but code must be for disk.

#2 Luanub

    Lua Nub

  • Members
  • 1,135 posts
  • LocationPortland OR

Posted 07 August 2012 - 10:52 AM

To copy a file from one location to another from within a program you will want to use fs.copy()

You will want to use the following syntax to copy from a disk to computer.
fs.copy("disk/filename", "filename")


#3 ardera

  • Members
  • 503 posts
  • LocationGermany

Posted 07 August 2012 - 10:52 AM

Very easy:
This is the code of "startup":
fs.copy("disk/pr", "/")






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users