24 posts
Posted 07 July 2012 - 03:26 PM
How will I do this?
fs.copy("myfile","disk")
just says acess denied.
88 posts
Location
Austria(German)
Posted 07 July 2012 - 03:34 PM
This happens if you edit a file and don't close it proply!
e.g.
h = fs.open("filename","a")
h.writeLine("something")
-- you forget to close the file using h.close()
or the file wasn't close properly because of an error
24 posts
Posted 07 July 2012 - 03:38 PM
What i'm trying to is copy a program stored on the computer onto a floppy, without having to write it again.
88 posts
Location
Austria(German)
Posted 07 July 2012 - 03:43 PM
oh wait a sek! Try this:
fs.copy("myfile","disk/myfile")
or if it doesn't work try:
shell.run("copy","myfile","disk/myfile")
62 posts
Posted 07 July 2012 - 03:44 PM
Try fs.copy("filename","disk/filename").
1 posts
Posted 08 July 2012 - 09:06 AM
i'm having a similar problem. no matter what i try i get access denied or it just makes a copy named disk of the file i'm trying to transfer.
disk.isPresent admits there is a disk but ls doesn't see one. do i have to mount the drive in some way?
88 posts
Location
Austria(German)
Posted 08 July 2012 - 06:17 PM
If a disk is inserted in the disk-drive her must be a folder called 'disk' otherwise I don't know