{"id":108,"date":"2004-08-10T22:18:00","date_gmt":"2004-08-11T05:18:00","guid":{"rendered":"https:\/\/kb.terabyteunlimited.com\/kb-articles\/message-this-program-must-be-run-under-dos-and-not-from-a-dos-box-when-running-image-for-dos-under-freedos\/"},"modified":"2021-09-07T15:04:06","modified_gmt":"2021-09-07T22:04:06","slug":"message-this-program-must-be-run-under-dos-and-not-from-a-dos-box-when-running-image-for-dos-under-freedos","status":"publish","type":"lsvr_kba","link":"https:\/\/www.terabyteunlimited.com\/kb\/kb-articles\/message-this-program-must-be-run-under-dos-and-not-from-a-dos-box-when-running-image-for-dos-under-freedos\/","title":{"rendered":"Message &#8220;This Program Must be Run Under DOS and not From a DOS Box&#8221; when running Image for DOS Under FreeDOS"},"content":{"rendered":"<p>Image for DOS is compatible with FreeDOS, but some configurations may result in the message &quot;<font color=\"#ff0000\">This program must be run under DOS and not from a DOS Box<\/font>&quot; when booting from the FreeDOS-based floppy disk.<\/p>\r\n  <p>You can work around this problem by creating a file named <strong>AUTOEXEC.BAT<\/strong> on the FreeDOS floppy and putting the following lines in it:<\/p>\r\n  <p><font color=\"#ff0000\"><strong>set OS=FD<\/strong><br \/><strong>image.exe<\/strong><\/font><\/p>\r\n  <p>If you are already using an AUTOEXEC.BAT file with some other parameters specified, just add a new line with &quot;<font color=\"#ff0000\">set OS=FD<\/font>&quot; to what you have already. For example, if you already had this in your AUTOEXEC.BAT file:<\/p>\r\n  <p><strong><font color=\"#ff0000\">set IFD=nocan<br \/>image.exe<\/font><\/strong><\/p>\r\n  <p>Then simply change it to this:<\/p>\r\n  <p><strong><font color=\"#ff0000\">set OS=FD<br \/>set IFD=nocan<br \/>image.exe<\/font><\/strong><\/p>","protected":false},"excerpt":{"rendered":"<p>Image for DOS is compatible with FreeDOS, but some configurations may result in the message &quot;This program must be run under DOS and not from a DOS Box&quot; when booting from the FreeDOS-based floppy disk. You can work around this problem by creating a file named AUTOEXEC.BAT on the FreeDOS floppy and putting the following [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"lsvr_kba_cat":[1774],"lsvr_kba_tag":[2122],"class_list":["post-108","lsvr_kba","type-lsvr_kba","status-publish","hentry","lsvr_kba_cat-problem-solving-image-for-dos","lsvr_kba_tag-image-for-dos"],"_links":{"self":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/comments?post=108"}],"version-history":[{"count":1,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/108\/revisions"}],"predecessor-version":[{"id":6305,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/108\/revisions\/6305"}],"wp:attachment":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/media?parent=108"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_cat?post=108"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_tag?post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}