Code: Select all
on openStack
put specialfolderpath("home") & "/newfolder" into targetFolder
if there is not a folder targetFolder then
create folder specialfolderpath("home") & "/newfolder"
end if
put specialfolderpath("resources") & "/db_test" into tSourceFile
put specialfolderpath("home") & "/newfolder/db_test" into tTargetFile
if there is not a file tTargetFile then
put URL("binfile:" & tSourceFile) into URL("binfile:" & tTargetFile)
end if
end openStack