Hello; Add the below command in the first line of the loader script: MSDOS = getos() == 'Windows'; hope it helps Mehran _ -- View this message in context: http://mailinglists.scilab.org/Scilab-users-Undefined-variable-MSDOS-tp4027080p4027086.html Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.