Horizon Posted January 16, 2005 Share Posted January 16, 2005 ...after incorrect shutdown. (But I don't know scandisk.ini is being loaded after incorrect shutdown, whether scandisk uses some kind of default settings). If it would load, please add modified one to SP. thxhere it is:; SCANDISK.INI;; This file contains settings you can use to customize the ScanDisk program.; The settings in this file do not apply when running ScanDisk in Windows 95,; unless you are checking an unmounted compressed volume file. These settings; will apply if you run ScanDisk from an MS-DOS prompt in single-application; mode.;; -------------------------------------------------------------------; The [ENVIRONMENT] section contains the following settings, which; determine general aspects of ScanDisk's behavior:;; Display Configures ScanDisk to run with a particular type of; display. The default display type is Auto (ScanDisk; adjusts to the current display).;; Mouse Enables or disables mouse support. The default value is On.;; ScanTimeOut Determines whether ScanDisk should detect disk timeouts; while performing a surface scan. The default value is Off.;; NumPasses Determines how many times ScanDisk should check each; cluster during a surface scan. The default value is 1.;; LabelCheck Determines whether ScanDisk should check volume labels; for invalid characters. The default is Off.;; LfnCheck Activates Scandisk to validate Long File Names, if they exist.; The default is ON, to check Long File Names for problems.;; SpaceCheck Determines whether ScanDisk should check for invalid spaces; in filenames. The default is Off.;; Mount Determines whether ScanDisk will mount unmounted DoubleSpace; drives once it has determined they are error-free.;[ENVIRONMENT] Display = Auto ; Auto, Mono, Color, Off Mouse = On ; On, Off ScanTimeOut = Off ; On, Off NumPasses = 1 ; 1 through 65,535 (anything over 10 is slow) LabelCheck = Off ; On, Off LfnCheck = On ; On, Off SpaceCheck = Off ; On, Off Mount = Never ; Prompt, Always, Never; -------------------------------------------------------------------; The [CUSTOM] section determines ScanDisk's behavior when ScanDisk is; started with the /CUSTOM switch. You can adjust these settings to; create a customized "version" of ScanDisk. This can be especially; useful for running ScanDisk from a batch file. The [CUSTOM] settings are:;; DriveSummary Determines whether ScanDisk displays full-screen; summary information after checking each drive.; The default is Auto (ScanDisk displays the summary; only if it encounters errors on that drive).;; AllSummary Determines whether ScanDisk displays full-screen; summary information after checking all drives.; The default is Auto (ScanDisk displays the summary; only if it encounters errors on any drive).;; Surface Determines whether ScanDisk will perform a surface scan:; Never (Default) Does not perform a surface scan.; Always Performs a surface scan without prompting first.; Prompt Prompts before performing a surface scan.; The /SURFACE command-line switch overrides this setting.;; CheckHost Determines whether ScanDisk will first check a host drive; before checking any compressed drives located on that drive.; Never (Default) Does not check the host drive.; Always Checks the host drive without prompting first.; Prompt Prompts before checking the host drive.;; SaveLog Determines what ScanDisk does with the repair log file:; Off (Default) Does not save the repair log.; Append Appends the log to the previous log, if any.; Overwrite Replaces the previous log with the new log.;; Undo Determines whether ScanDisk creates an Undo floppy disk.; The default is Never (ScanDisk does not create an Undo disk).; The Prompt value causes ScanDisk to prompt you for a disk.[CUSTOM] DriveSummary = Off ; Auto, On, Off AllSummary = Off ; Auto, On, Off Surface = Never ; Never, Always, Prompt CheckHost = Always ; Never, Always, Prompt SaveLog = Overwrite ; Off, Append, Overwrite Undo = Never ; Prompt, Never; The following settings determine the corrective action ScanDisk will; take if it was started with the /CUSTOM switch and finds a disk error.; The next five settings accept any of the following values:; Prompt Causes ScanDisk to prompt you before fixing this problem.; Fix Causes ScanDisk to fix the problem without prompting you.; Quit Causes ScanDisk to terminate if it encounters this problem. DS_Header = Fix ; Damaged DoubleSpace volume file header FAT_Media = Fix ; Missing or invalid FAT media byte Okay_Entries = Fix ; Damaged, but repairable, directories/files Bad_Chain = Fix ; Files or directories which should be truncated Crosslinks = Fix ; FAT-level crosslinks; The next seven settings accept any of the following values:; Prompt Causes ScanDisk to prompt you before fixing this problem.; Fix Causes ScanDisk to fix the problem without prompting you.; Quit Causes ScanDisk to terminate if it encounters this problem.; Skip Causes ScanDisk to skip fixing this problem, but continue; checking the disk. Boot_Sector = Fix ; Damaged boot sector on DoubleSpace drive FSInfo_Sector = Fix ; Incorrect free space count Invalid_MDFAT = Fix ; Invalid MDFAT entries DS_Crosslinks = Fix ; Internal (MDFAT-level) crosslinks DS_LostClust = Fix ; Internal lost clusters DS_Signatures = Fix ; Missing DoubleSpace volume signatures Mismatch_FAT = Fix ; Mismatched FATs on non-DoubleSpace drives Bad_Clusters = Fix ; Physical damage or decompression errors; The next setting accepts any of the following values:;; Prompt Causes ScanDisk to prompt you before fixing this problem.; Delete Causes ScanDisk to delete the damaged directory entries; without prompting you first.; Quit Causes ScanDisk to terminate if it encounters this problem. Bad_Entries = Delete ; Damaged and irrepairable directories or files; The next setting accepts any of the following values:;; Prompt Causes ScanDisk to prompt you before fixing this problem.; Save Causes ScanDisk to save the lost clusters as files in the; root directory without prompting you first.; Delete Causes ScanDisk to delete the contents of the lost clusters; without prompting you first.; Quit Causes ScanDisk to terminate if it encounters this problem.; Skip Causes ScanDisk to skip fixing this problem, but continue; checking the disk. LostClust = Delete ; Lost clusters Link to comment Share on other sites More sharing options...
NostraVar Posted January 18, 2005 Share Posted January 18, 2005 Horizon,The 'switch' to autorun scandisk after a bad shutdown is contained inside of the file msdos.sys as follows.[Paths] WinDir=C:\WINDOWS WinBootDir=C:\WINDOWS HostWinBootDrv=C [Options] AutoScan=2 Link to comment Share on other sites More sharing options...
Dr. Mac Posted January 20, 2005 Share Posted January 20, 2005 Greetings.The easiest way to do this is to use the System Configuration Utility.In the "Start >> Run" box just type :msconfigThe click on "OK"On the MsConfiog box that pops up, click on the "Advanced" button.Now, there is a check box where you can opt to have scandisk run after a badshutdown ... but if you UN-tick the box it will NOT run after a bad shutdown.Go for it!Dr. Mac Link to comment Share on other sites More sharing options...
Horizon Posted February 6, 2005 Author Share Posted February 6, 2005 No, no, no! I want scandisk to be exectued (after incorrect shutdown... as it's by default), but I want it do all corrections AUTOMATICALY. =without asking me. Is it clear? Link to comment Share on other sites More sharing options...
horsecharles Posted February 6, 2005 Share Posted February 6, 2005 Let's see: You could both two these two things:MS TweakUI / Boot / AutoRun Scandisk without prompting.... AND--do a Find for scandisk.exe(i know it's in Windows\Command, but just in case you have an extra copy elsewhere & something in your Path statement causes that one to run instead) & for all copies each: right-click / Properties / Program / Cmd Line: add /autofix related: X-Setup / Startup/Shutdown\Startup\Windows 9x/Me\30) Scandisk\ScanDisk Logging has some logging options you might use.Hopefully that will work........ Link to comment Share on other sites More sharing options...
erpdude8 Posted February 7, 2005 Share Posted February 7, 2005 Let's see: You could both two these two things:MS TweakUI / Boot / AutoRun Scandisk without prompting.... AND--do a Find for scandisk.exe(i know it's in Windows\Command, but just in case you have an extra copy elsewhere & something in your Path statement causes that one to run instead) & for all copies each: right-click / Properties / Program / Cmd Line: add /autofix related: X-Setup / Startup/Shutdown\Startup\Windows 9x/Me\30) Scandisk\ScanDisk Logging has some logging options you might use.Hopefully that will work........Better go with the TweakUI option to set your Scandisk options but be sure to use TweakUI 1.33 which is the latest version for Win98.the Dos version of Scandisk (scandisk.exe) does not load the scandisk.ini file unless you specify the /custom option from the DOS prompt when Win98 is not running.What I mean is this:'c:\windows\command\scandisk.exe /custom'Hope this also helps, Horizon. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now