--external map path copier by zhangy
orgIniPath="d:/3dsmax8/3dsmax.ini"
mapIniSetup=getINISetting orgIniPath "BitmapDirs"
nowIniPath=getMAXIniFile()
curPath=getINISetting nowIniPath "BitmapDirs"
xx=0
for i in curPath do
(
xx+=1
curMapPath=getINISetting nowIniPath "BitmapDirs" i
setINISetting nowIniPath "BitmapDirs" ("Dir"+(xx+ mapIniSetup.count) as string) curMapPath
)
xx=0
for i in mapIniSetup do
(
xx+=1
bitmapsPath=getINISetting orgIniPath "BitmapDirs" i
setINISetting nowIniPath "BitmapDirs" ("Dir"+ (xx as string)) bitmapsPath
)