Text file in Win 10 'cannot run in DOS mode"

Still having issue with Win 10 Notepad text file. Other notepad text files open correctly but my most used text file opens  but in the first line (after some Symbols are displayed) states - º ´ Í!¸LÍ!This program cannot be run in DOS mode. An earlier response suggested I run "sfc /scannow and DISM .  I did both to no avail. Looking for more assistance.  Thanks var appInsights = window.appInsights || function (config) { function s(config) { t[config] = function () { var i = arguments; t.queue.push(function () { t[config].apply(t, i) }) } } var t = { config: config }, r = document, f = window, e = "script", o = r.createElement(e), i, u; for (o.src = config.url || "//az416426.vo.msecnd.net/scripts/a/ai.0.js", r.getElementsByTagName(e)[0].parentNode.appendChild(o), t.cookie = r.cookie, t.queue = [], i = ["Event", "Exception", "Metric", "PageView", "Trace"]; i.length;) s("track" + i.pop()); return config.disableExceptionTracking || (i = "onerror", s("_" + i), u = f[i], f[i] = function (config, r, f, e, o) { var s = u && u(config, r, f, e, o); return s !== !0 && t["_" + i](config, r, f, e, o), s }), t }({ instrumentationKey: "e81bf793-29bc-485d-a806-1eb414b65249" }); window.appInsights = appInsights; appInsights.trackPageView(); By using this site you agree to the use of cookies for analytics, personalized content and ads. Learn More Community Alex&Gomez AL My ProfileSign out Search this siteUpdate, backup, & recoveryWindowsSearch Community member Home Categories All Categories Bing Internet Explorer Microsoft Health and Band Mobile Devices MSN Music, Movies & TV Office OneDrive Outlook.com Surface Virus and Malware Windows Windows Essentials Windows Insider Program Community Participation Center Participate How To Participate Ask a Question Start a Discussion Discuss the Microsoft Community Site Meet Our Community Leaders Getting Started FAQ Alex&Gomez My ProfileSign out   Wiki Article Applies to WindowsWindows 10Update, backup, & recovery 1037355 views System file check (SFC) Scan and Repair System Files & DISM to fix things SFC cannot Created byZigZag3143 (MS -MVP) September 13, 2013 MVPInsiderCommunity ModeratorWiki Author Completed Training MCC: Content Creator MCC: Content Curator Conversationalist Launch expert - Windows 10 Most Recommended Discussion Wiki Master Accomplishments Accomplishments MVPInsiderCommunity ModeratorWiki Author Completed Training MCC: Content Creator MCC: Content Curator Conversationalist Launch expert - Windows 10 Most Recommended Discussion Wiki Master Technical Level : Basic Summary System file check is a utility built into the Operating System that will check for system file corruption The sfc /scannow command (System File Check) scans the integrity of all protected operating system files and replaces incorrect, corrupted, changed, or damaged versions with the correct versions where possible.  When it cannot repair the damage DISM should be run to fix as many errors as possible. System file check works on Vista and UP Dism works on win 7 and UP If you are running an insider build (ie 14915) and SFC fails ~20% it is a known problem with this build If you are running sfc &/or DISM to fix an underlying problem please tell us what that problem is!!!! Details If you have modified your system files (including Windows DLL files) running sfc /scannow will revert the system files back to the default state. It is always a good idea to back up your data beforehand! To run a system file check (SFC) Go to start>Type CMD Right click and run as Administrator (called an elevated command prompt) If you want to verify and repair the OS type sfc /scannow (note the space between sfc and "/") If you just want to check (verify only) the OS type sfc /verifyonly (no changes will be made using verify only)  You may have to run this up to 3 times to fix all the problems When you have finished it will say one of three things Windows did not find any integrity violations (a good thing) Windows Resource Protection found corrupt files and repaired them (a good thing) Windows Resource Protection found corrupt files but was unable to fix some (or all) of them (not a good thing)  If you get this message run DISM as described below If SFC was not able to repair some or all of the files there are a few options including a repair install from the OS dvd, and DISM (win 8 & UP) If SFC did not find any violations it is still a good idea to run DISM Restorehealth DISM If you are on win 8 (and up) you  should also run DISM whether SFC found errors or not!! From an elevated command prompt  You can run Check, then Scan, but you should always run RESTORE HEALTH To check the health (You would use /CheckHealth to only check whether the image has been flagged as corrupted) run Dism /Online /Cleanup-Image /CheckHealth To scan the health use /ScanHealth to scan the image for component store corruption. This option does not fix any corruption. run Dism /Online /Cleanup-Image /ScanHealth To RESTORE health (recommended) Use DISM /Online /Cleanup-Image /RestoreHealth to scan the image for component store corruption, perform repair operations automatically, and records that corruption to the log file.  This generally takes 15-30 minutes depending on the corruption and size of the partition You can run scanhealth & restore health at the same time like this DISM.exe /Online /Cleanup-image /Scanhealth && DISM.exe /Online /Cleanup-image /Restorehealth Type DISM /Online /Cleanup-Image /RestoreHealth . (please note the space after "dism", & "online" & "image")If the repair is successful you may want to re-run SFC just to check. After running DISM it is a good idea to re-run SFC /scannow to make sure all the issues were fixed. If you get the error message "cannot find source files"you need to have an ISO file mounted and need to specify where it is located with the below command The ISO must be exactly the same version as the running OS.  An ISO of 10586.0 will not repair a running system of 10586.35 because it has additional updates and files. DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess  Where "X" is the drive letter where the ISO is located.  Simply change the "X" to the correct drive letter If you do not have an ISO you can make one.  The instructions are here http://support.microsoft.com/kb/929833 http://pcsupport.about.com/od/toolsofthetrade/ht/sfc-scannow.htm If this wiki has proved helpful please click me too at the bottom of the wiki. Other Wiki's you may be interested in System file check (SFC)  Scan & repair System files Basic troubleshooting Windows/hardware You can read more about BSODS You can learn how to test your memory Asking an effective question gets help faster Driver verifier -Tracking down a mis-behaving driver MSCONFIG the system utility. Windows performance recorder Email Systems... Differences explained BugCheck Code 124 Backing up your important Outlook.com email data . BCC101 Clock watchdog timeout Troubleshooting Event Viewer What's going on in your computer? Updating drivers BCC116/7 Your video driver has stopped HD Checking how to test yours Driver View A very handy utility for examining drivers Safe mode in win 10 (before you need it) Outlook Mail (also known as Outlook on the web) Co-Authored JMH3143/ ZigZag3143 1983 people found this helpful Me Too Comment Subscribe Suggest Changes Me Too Comment Suggest Changes Subscribe Comments (16)   Revision History Last updatedOctober 6, 2016 byZigZag3143 (MS -MVP) Still have questions? Ask the communitySearch Microsoft Support for more help Related Content Show more content like this   English This site in other languages Bahasa IndonesiaČeštinaDanskDeutschEestiEspañolFrançais ItalianoMagyarNederlandsNorsk, BokmålPolskiPortuguêsSuomi SvenskaTiếng ViệtTürkçeΕλληνικάРусскийעבריתالعربية ไทย한국어中文(简体)中文(繁體)日本語 © 2017 Microsoft Microsoft Community Code of ConductCommunity Participation Center TrademarksPrivacy & CookiesTerms of Use Microsoft Community Code of ConductCommunity Participation CenterTrademarksPrivacy & CookiesTerms of Use © 2017 Microsoft OK Submit Cancel OK <img src="//bat.bing.com/action/0?ti=5440993&Ver=2" height="0" width="0" style="display:none; visibility: hidden;" /> var appInsights = window.appInsights || function (config) { function s(config) { t[config] = function () { var i = arguments; t.queue.push(function () { t[config].apply(t, i) }) } } var t = { config: config }, r = document, f = window, e = "script", o = r.createElement(e), i, u; for (o.src = config.url || "//az416426.vo.msecnd.net/scripts/a/ai.0.js", r.getElementsByTagName(e)[0].parentNode.appendChild(o), t.cookie = r.cookie, t.queue = [], i = ["Event", "Exception", "Metric", "PageView", "Trace"]; i.length;) s("track" + i.pop()); return config.disableExceptionTracking || (i = "onerror", s("_" + i), u = f[i], f[i] = function (config, r, f, e, o) { var s = u && u(config, r, f, e, o); return s !== !0 && t["_" + i](config, r, f, e, o), s }), t }({ instrumentationKey: "e81bf793-29bc-485d-a806-1eb414b65249" }); window.appInsights = appInsights; appInsights.trackPageView(); By using this site you agree to the use of cookies for analytics, personalized content and ads. Learn More Community Alex&Gomez AL My ProfileSign out Search this siteUpdate, backup, & recoveryWindows Search Community member Home Categories All Categories Bing Internet Explorer Microsoft Health and Band Mobile Devices MSN Music, Movies & TV Office OneDrive Outlook.com Surface Virus and Malware Windows Windows Essentials Windows Insider Program Community Participation Center Participate How To Participate Ask a Question Start a Discussion Discuss the Microsoft Community Site Meet Our Community Leaders Getting Started FAQ Alex&Gomez My ProfileSign out   Wiki Article Applies to WindowsWindows 10Update, backup, & recovery 1037355 views System file check (SFC) Scan and Repair System Files & DISM to fix things SFC cannot Created by ZigZag3143 (MS -MVP) September 13, 2013 MVP Insider Community Moderator Wiki Author Completed Training MCC: Content Creator MCC: Content Curator Conversationalist Launch expert - Windows 10 Most Recommended Discussion Wiki Master Accomplishments Accomplishments MVP Insider Community Moderator Wiki Author Completed Training MCC: Content Creator MCC: Content Curator Conversationalist Launch expert - Windows 10 Most Recommended Discussion Wiki Master Technical Level : Basic Summary System file check is a utility built into the Operating System that will check for system file corruption The sfc /scannow command (System File Check) scans the integrity of all protected operating system files and replaces incorrect, corrupted, changed, or damaged versions with the correct versions where possible.  When it cannot repair the damage DISM should be run to fix as many errors as possible. System file check works on Vista and UP Dism works on win 7 and UP If you are running an insider build (ie 14915) and SFC fails ~20% it is a known problem with this build If you are running sfc &/or DISM to fix an underlying problem please tell us what that problem is!!!! Details If you have modified your system files (including Windows DLL files) running sfc /scannow will revert the system files back to the default state. It is always a good idea to back up your data beforehand! To run a system file check (SFC) Go to start>Type CMD Right click and run as Administrator (called an elevated command prompt) If you want to verify and repair the OS type sfc /scannow (note the space between sfc and "/") If you just want to check (verify only) the OS type sfc /verifyonly (no changes will be made using verify only)  You may have to run this up to 3 times to fix all the problems When you have finished it will say one of three things Windows did not find any integrity violations (a good thing) Windows Resource Protection found corrupt files and repaired them (a good thing) Windows Resource Protection found corrupt files but was unable to fix some (or all) of them (not a good thing)  If you get this message run DISM as described below If SFC was not able to repair some or all of the files there are a few options including a repair install from the OS dvd, and DISM (win 8 & UP) If SFC did not find any violations it is still a good idea to run DISM Restorehealth DISM If you are on win 8 (and up) you  should also run DISM whether SFC found errors or not!! From an elevated command prompt  You can run Check, then Scan, but you should always run RESTORE HEALTH To check the health (You would use /CheckHealth to only check whether the image has been flagged as corrupted) run Dism /Online /Cleanup-Image /CheckHealth To scan the health use /ScanHealth to scan the image for component store corruption. This option does not fix any corruption. run Dism /Online /Cleanup-Image /ScanHealth To RESTORE health (recommended) Use DISM /Online /Cleanup-Image /RestoreHealth to scan the image for component store corruption, perform repair operations automatically, and records that corruption to the log file.  This generally takes 15-30 minutes depending on the corruption and size of the partition You can run scanhealth & restore health at the same time like this DISM.exe /Online /Cleanup-image /Scanhealth && DISM.exe /Online /Cleanup-image /Restorehealth Type DISM /Online /Cleanup-Image /RestoreHealth . (please note the space after "dism", & "online" & "image")If the repair is successful you may want to re-run SFC just to check. After running DISM it is a good idea to re-run SFC /scannow to make sure all the issues were fixed. If you get the error message "cannot find source files"you need to have an ISO file mounted and need to specify where it is located with the below command The ISO must be exactly the same version as the running OS.  An ISO of 10586.0 will not repair a running system of 10586.35 because it has additional updates and files. DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess  Where "X" is the drive letter where the ISO is located.  Simply change the "X" to the correct drive letter If you do not have an ISO you can make one.  The instructions are here http://support.microsoft.com/kb/929833 http://pcsupport.about.com/od/toolsofthetrade/ht/sfc-scannow.htm If this wiki has proved helpful please click me too at the bottom of the wiki. Other Wiki's you may be interested in System file check (SFC)  Scan & repair System files Basic troubleshooting Windows/hardware You can read more about BSODS You can learn how to test your memory Asking an effective question gets help faster Driver verifier -Tracking down a mis-behaving driver MSCONFIG the system utility. Windows performance recorder Email Systems... Differences explained BugCheck Code 124 Backing up your important Outlook.com email data . BCC101 Clock watchdog timeout Troubleshooting Event Viewer What's going on in your computer? Updating drivers BCC116/7 Your video driver has stopped HD Checking how to test yours Driver View A very handy utility for examining drivers Safe mode in win 10 (before you need it) Outlook Mail (also known as Outlook on the web) Co-Authored JMH3143/ ZigZag3143 1983 people found this helpful Me Too Comment Subscribe Suggest Changes Me Too Comment Suggest Changes Subscribe Comments (16)   Revision History Last updated October 6, 2016 by ZigZag3143 (MS -MVP) Still have questions? Ask the community Search Microsoft Support for more help Related Content Show more content like this   English This site in other languages Bahasa IndonesiaČeštinaDanskDeutschEestiEspañolFrançais ItalianoMagyarNederlandsNorsk, BokmålPolskiPortuguêsSuomi SvenskaTiếng ViệtTürkçeΕλληνικάРусскийעבריתالعربية ไทย한국어中文(简体)中文(繁體)日本語 © 2017 Microsoft Microsoft Community Code of ConductCommunity Participation Center TrademarksPrivacy & CookiesTerms of Use Microsoft Community Code of ConductCommunity Participation CenterTrademarksPrivacy & CookiesTerms of Use © 2017 Microsoft OK Submit Cancel OK <img src="//bat.bing.com/action/0?ti=5440993&Ver=2" height="0" width="0" style="display:none; visibility: hidden;" /> º ´ Í!¸LÍ!This program cannot be run  
Why have you got dos on windows 10. I'm no expert but I'm pretty sure dos is not compatible with windows anymore. 

4 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

So it's either not a text file or it's got corruption. Care to upload the file to a place like OneDrive and let us take a look at it?

1 person found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

That is not a notepad file but rather a text capture of a wiki

Care to tell us more?

Cat herder
Windows Insider MVP
MVP-Windows and Devices for IT
http://www.zigzag3143.com/

3 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated July 24, 2024 Views 3,565 Applies to: