ivan Posted April 7, 2004 Share Posted April 7, 2004 I´ve looked at the drive management functions, and I thought I could check a bad floppy cluster, and mark it somehow on the fat. If not using autoit, does anybody know I could solve this problem IVAN Think out of the boxGrabber: Yet another WinInfo tool_CSVLib (still alpha)Dynamic html in au3 Link to comment Share on other sites More sharing options...
ezzetabi Posted April 8, 2004 Share Posted April 8, 2004 W9X/ME format a: /autotest /u W2000/XP echo s|format a: /u Formatting mark all non usable sector. Link to comment Share on other sites More sharing options...
Nutster Posted April 8, 2004 Share Posted April 8, 2004 Without reformating the floppy, try: Windows 9x: Start - Programs - Accessories - System Tools - ScanDisk (C:\WINDOWS\SCANDSKW.EXE) Not sure where it is on NT/2000/XP David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd... Link to comment Share on other sites More sharing options...
ivan Posted April 8, 2004 Author Share Posted April 8, 2004 Thanks, both worked, I should have mentioned however, that I don´t want users to be aware that their station is being monitored. Think out of the boxGrabber: Yet another WinInfo tool_CSVLib (still alpha)Dynamic html in au3 Link to comment Share on other sites More sharing options...
ezzetabi Posted April 9, 2004 Share Posted April 9, 2004 (edited) For nutster: 9x DOS version is: Scandisk a: /autofix /nosave /nosummary /surface NT I dunno too, 2000/XP the command line is: chkdsk a: /f /r /x For Ivan: I am sorry, the user will see something. Even if you hide the formatting/checking window (with @sw_hide) the OS must deactivate all handle in the drive an so windows that display the drive content will not show it anymore, open file will be closed and so go on. And, overall, the drive light will blink... Edited April 9, 2004 by ezzetabi Link to comment Share on other sites More sharing options...
Nutster Posted April 10, 2004 Share Posted April 10, 2004 For Nutster:9xDOS version is:Scandisk a: /autofix /nosave /nosummary /surfaceNT I dunno too,2000/XP the command line is:chkdsk a: /f /r /xThe DOS mode ScanDisk.exe does not like having the GUI active and so ScanDisk.exe actually calls ScanDskW.exe to take care of things. If you run ScanDisk.exe before the GUI is launched, it should do the job itself, in DOS mode.To quote Dennis Miller, "But that's just my opinion. I could be wrong." Also, for everyone: Do not run ScanDisk, Disk Defrag, or other low-level disk utilities when other programs are running. Whenever the disk is written to, the program has to restart. And those program as very processor/device intensive; they will slow everything down. David NuttallNuttall Computer Consulting An Aquarius born during the Age of Aquarius AutoIt allows me to re-invent the wheel so much faster. I'm off to write a wizard, a wonderful wizard of odd... Link to comment Share on other sites More sharing options...
Somerset Posted April 10, 2004 Share Posted April 10, 2004 W9X/MEformat a: /autotest /uis good but if you add a /c to that, it forces format to test each cluster. if found bad it will mark them bad during the formatting process... Link to comment Share on other sites More sharing options...
ivan Posted April 14, 2004 Author Share Posted April 14, 2004 Thanks to all. The job has been met. I still thinking I can find a faster way skipping format of scandisk. Think out of the boxGrabber: Yet another WinInfo tool_CSVLib (still alpha)Dynamic html in au3 Link to comment Share on other sites More sharing options...
ezzetabi Posted April 14, 2004 Share Posted April 14, 2004 The DOS mode ScanDisk.exe does not like having the GUI active and so ScanDisk.exe actually calls ScanDskW.exe to take care of things.Yep, you are right. So in Windows GUI it is better useSCANDSKW a: /n 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