Code: Select all
var theFile = File("~/Desktop/theTextFile.txt")
theFile.changePath('~/Documents')
Pete
Moderator: Paul Tuersley
Code: Select all
var theFile = File("~/Desktop/theTextFile.txt")
theFile.changePath('~/Documents')
Code: Select all
var theFile = File("~/Desktop/theTextFile.txt")
theFile.changePath("~/Documents/theTextFile.txt")
Code: Select all
var theFile = File("~/Desktop/theTextFile.txt");
theFile.copy("~/Documents/theTextFile.txt");
theFile.remove();