I want to investigate my machine.

This is a discussion on I want to investigate my machine. within the C Programming forums, part of the General Programming Boards category; I want to make the program which investigates reading and writing of FDD. 1.DOS boot. 2.The suitable file(ex,text file etc) ...

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    11

    Unhappy I want to investigate my machine.

    I want to make the program which investigates reading and writing of FDD.
    1.DOS boot.
    2.The suitable file(ex,text file etc) in FDD is copied to C drive. <----------------
    3.The copied file is compared with the file in FDD. (C:\text file <=> A:\text file) |
    4.If there is no difference, the copied file will be deleted, and it returns to No.2. |
    And indicate how many times it passed. (loop)----------------------------------
    An error is displayed and stopped when there is a difference.

    I want to investigate how many times it can pass.
    Because the condition of my FDD is bad.
    Please tell me a program!
    Help!!!

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    70
    Are you asking for a pre-existing one or like someone to make you one or help you make one?

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    11

    Unhappy

    [B]I want someone to make all programs.[B][/QUOTE]

  4. #4
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    Most hardware manufactors have a downloadable dos program to test the status on your harddrive. Go look for it.

  5. #5
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    A girl... we don't see many of those on here. If you're looking for a good example (I don't think I understand the question fully), vdiag.something.... exe of COM is good. It runs screen tests to test different Graphics modes and sets everything up for you. It's a different subject but it's a good example of PC Diagnostic programs and self-repair stuff.

  6. #6
    Registered User
    Join Date
    Jun 2002
    Posts
    11

    Unhappy

    An error is not discovered by scandisk.

    I looked at Microsoft.
    But good tool couldn't be discovered, and I was lost.
    Where of Microsoft should I go to?

    Is it difficult to make this program?
    I want to listen to everyone's opinion.
    thanks!

    mary

  7. #7
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    Why not just use the -v flag of the copy command

    Code:
    D:\users\default>copy /?
    Copies one or more files to another location.
    
    COPY [/A | /B] source [/A | /B] [+ source [/A | /B] [+ ...]] [destination
      [/A | /B]] [/V] [/N]
    
      source       Specifies the file or files to be copied.
      /A           Indicates an ASCII text file.
      /B           Indicates a binary file.
      destination  Specifies the directory and/or filename for the new file(s).
      /V           Verifies that new files are written correctly.
      /N           Uses short filename, if available, when copying a file with
                   non-8dot3 name.
      /Z           Copies networked files in restartable mode.
    
    To append files, specify a single file for destination, but multiple files
    for source (using wildcards or file1+file2+file3 format).
    You'll need to ensure that the source file is big enough to fill the disk, as well.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  8. #8
    Registered User Zeeshan's Avatar
    Join Date
    Oct 2001
    Location
    Munich, Germany
    Posts
    224
    >> An error is not discovered by scandisk.

    O yes it is. Not only can scandisk detect an error, it can also repair it.

    scandisk /autofix c:

    >> Is it difficult to make this program?

    Depends upon your level. It is mostly based on low-level functions. Although some C/C++ compilers (e.g Turbo C++) have the necessary functions, still, you most probably would need Assembly support. Hence, it should be pretty tough for not only a beginner, but even an intermediate programmer.

  9. #9
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    Go to the mfc of your harddrive...maxtor.com have tools and info on how to do low level checks on your disks. If your harddrive is something else go to there homepage and find a similar program. You don't have to write something, just download something writen by the people knowing this stuff best.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Finite State Machine
    By ArlexBee-871RBO in forum C++ Programming
    Replies: 8
    Last Post: 07-14-2008, 12:59 PM
  2. Replies: 4
    Last Post: 01-18-2008, 07:05 PM
  3. Porting from 32 bit machine to 64 bit machine!
    By anoopks in forum C Programming
    Replies: 10
    Last Post: 02-25-2005, 08:02 PM
  4. Designing State Machine
    By axon in forum Tech Board
    Replies: 3
    Last Post: 11-06-2003, 12:13 PM
  5. machine language
    By SAMSAM in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 03-12-2003, 05:50 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21