Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- args = {...}
- if #args < 1 then
- print("Uso: touch <directory>")
- return
- end
- if fs.exists(shell.resolve(args[1])) then
- print("Il file esiste gia'")
- return
- end
- file = fs.open(shell.resolve(args[1]), "w")
- file.write("")
- file.close()
Add Comment
Please, Sign In to add comment