MAXScript101_5.5 Export Folder, ThumbnailFolder - Processing Sets of Scene Files
实例一.
resetMaxFile #noPrompt
print "Done."
)
-- usage
exportFolder @"D:/Shemmy/temp_PracticeMaxscript/April20,2011" @"D:/Shemmy/temp_PracticeMaxscript/April20,2011/outputFolder"
备注:
1. getFiles <wild_card_filename_string> :得到指定路径中的长文件名,指定路径包含通配符
2. 文件与文件名相关
file="g://subdir1//subdir2//myImage.jpg"
filenameFromPath file -- returns: "myImage.jpg"
getFilenamePath file -- returns: "g:/subdir1/subdir2/"
getFilenameFile file -- returns: "myImage"
getFilenameType file -- returns: ".jpg"
pathIsNetworkPath "c://temp//test.txt" --returns: false
pathIsNetworkPath "////someserver//temp//test.txt" --returns: true
实例二(实例一变体).