local fileCutil = CTNFileUtil();
local sSourcePath = [[E:/test_class_2/]];
local sPath = [[E:/test_class_3/]];
if fileCutil:directoryExists(sSourcePath) == false then
fileCutil:createDirectory(sPath);
ui:tip('success');
end
local sPath = [[E:/test_class/test_class_3]];
if fileCutil:createDirectory(sPath) == true then
ui:tip('success');
end
local sSourcePath = [[E:/test_class/test_class_3]];
local sDestPath = [[E:/test_class/test_class_4]]
if fileCutil:copyDirectory(sSourcePath, sDestPath) == true then
ui:tip('success');
end
local sPath = [[E:/test_class/test_class_4]];
if fileCutil:removeDirectory(sPath) == true then
ui:tip('success');
end
local sSourcePath = [[E:/test_class/test_class_3_11111]];
local sDestPath = [[E:/test_class/test_class_4]]
if fileCutil:copyDirectories(sSourcePath, sDestPath) == true then
ui:tip('success');
end
local sPath = [[E:/test_class/test_class_4]];
if fileCutil:removeDirectories(sPath) == true then
ui:tip('success');
end