1//<-- CLI SHELL MODE --> 2// ============================================================================= 3// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 4// Copyright (C) 2009 - DIGITEO - Allan CORNET 5// 6// This file is distributed under the same license as the Scilab package. 7// ============================================================================= 8 9// <-- JVM MANDATORY --> 10 11cd(TMPDIR); 12 13exec(SCI+"/modules/localization/tests/unit_tests/CreateDir.sce", -1); 14 15tab_ref = [ 16"世界您好", 17"азеазея", 18"ハロー・ワールド", 19"เฮลโลเวิลด์", 20"حريات وحقوق", 21"프로그램", 22"프로그램", 23"תוכנית"]; 24 25for i = 1 : size(tab_ref,'*') 26 dz = "dir_" + tab_ref(i); 27 p = cd(dz); 28 fz = "file_" + tab_ref(i); 29 fullfz = TMPDIR + filesep() + dz + filesep() + fz; 30 if getlongpathname(getshortpathname(fullfz)) <> fullfz then pause,end 31 cd(TMPDIR); 32end 33