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

File Backup Creator ( Not Tested :p )

Started by TyDoesMC, 05 August 2013 - 04:17 PM
TyDoesMC #1
Posted 05 August 2013 - 06:17 PM
Hello Another Random Program!,
File Backup Creator, Please Test It!


--[[ File Backup Creator ]]--
-- Create's a Backup To a Disk!
-- Must Have a Disk Drive With a Disk Beside The Computer!
--[[ Functions ]]--
-- No Function's!
--[[ Code ]]--
print("File Backup Creator")
print("1.0")

print("Enter The Name Of The File You Want To Create a Backup Of")
input = read()
write("File: ")
fs.copy("..input..", disk/"..input..")
end
Lyqyd #2
Posted 05 August 2013 - 06:53 PM
Locked. Programs section is for complete code, not for us to test your eight line programs. At least test code before posting it.