复制文件
执行以下bat可实现复制E盘测试文件夹下面的所有文件到C盘根目录
1 2 3 4 5 6 7
| @echo off :: 要复制的文件夹 set SOUECE=E:\测试 :: 复制到的目录 set DESTINATION=C:\ xcopy %SOUECE% %DESTINATION%\ /s/y pause
|
创建文件夹
创建Maya工程目录
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
| @echo off md data md images md scenes md sourceimages
more +9 %0 >> workspace.mel exit /b
//Maya 2018 Project Definition
workspace -fr "fluidCache" "cache/nCache/fluid"; workspace -fr "images" "images"; workspace -fr "offlineEdit" "scenes/edits"; workspace -fr "furShadowMap" "renderData/fur/furShadowMap"; workspace -fr "iprImages" "renderData/iprImages"; workspace -fr "renderData" "renderData"; workspace -fr "scripts" "scripts"; workspace -fr "fileCache" "cache/nCache"; workspace -fr "eps" "data"; workspace -fr "shaders" "renderData/shaders"; workspace -fr "3dPaintTextures" "sourceimages/3dPaintTextures"; workspace -fr "translatorData" "data"; workspace -fr "mel" "scripts"; workspace -fr "furFiles" "renderData/fur/furFiles"; workspace -fr "OBJ" "data"; workspace -fr "particles" "cache/particles"; workspace -fr "scene" "scenes"; workspace -fr "furEqualMap" "renderData/fur/furEqualMap"; workspace -fr "sourceImages" "sourceimages"; workspace -fr "furImages" "renderData/fur/furImages"; workspace -fr "clips" "clips"; workspace -fr "depth" "renderData/depth"; workspace -fr "sceneAssembly" "sceneAssembly"; workspace -fr "teClipExports" "Time Editor/Clip Exports"; workspace -fr "movie" "movies"; workspace -fr "audio" "sound"; workspace -fr "bifrostCache" "cache/bifrost"; workspace -fr "autoSave" "autosave"; workspace -fr "mayaAscii" "scenes"; workspace -fr "move" "data"; workspace -fr "sound" "sound"; workspace -fr "diskCache" "data"; workspace -fr "illustrator" "data"; workspace -fr "mayaBinary" "scenes"; workspace -fr "templates" "assets"; workspace -fr "furAttrMap" "renderData/fur/furAttrMap"; workspace -fr "timeEditor" "Time Editor";
|