|
-
Aug 10th, 2000, 07:06 PM
#1
sorry , not quite VB!
when my VB app computer riuns un-attended. If it reboots after power outage, etc
ScanDisk runs as per normal windows startup after abnormal closed-down.
If scandisk finds any file errors, I need it to automatically delete them and continue bootup.
How can I do this? (command line options on scandisk maybe?)
VB6, SP4
-
Aug 10th, 2000, 07:11 PM
#2
In dos, type: scandisk /?
It'll tell you what to do.
-
Aug 10th, 2000, 07:29 PM
#3
OK what next?
Thanks, /? tells me i need ?autofix /nosummary /nosave
options on ScanDisk command line.
BUT.. I want these options to apply ONLY when scandisk is run automatically after reboot-after-bad-close-down.
If a user does a 'manual' scandisk these options must not apply.
How can I apply these options on on the reboot case?
(I can modify the scandisk.ini file, but this will apply to scandisk runs)
-
Aug 10th, 2000, 07:36 PM
#4
Scandisk x: (substitute the drive letter for x)
Specify the drive you want to check.
/a Check all your local hard disks.
/n Start and quit ScanDisk automatically.
/p Prevent ScanDisk from correcting any errors it finds.
Try:
-
Aug 10th, 2000, 07:59 PM
#5
Yes, ok but how do I tell windows to run these options ONLY on bad-shutdown-REBOOT ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|