1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved: dos command

Discussion in 'DOS/Other' started by 24giovanni, Jul 11, 2006.

Thread Status:
Not open for further replies.
Advertisement
  1. 24giovanni

    24giovanni Banned Thread Starter

    Joined:
    Jun 14, 2003
    Messages:
    1,083
    is there a search/ find command in DOS to find a certain file? If so, what is the correct syntax to do it please? TIA

    I am trying to find the following:

    io.sys
    config.sys

    I found io.sys and tried copying it but it didn't work with the following command to a floppy copy io.sys a:

    ANY IDEA WHY?

    tia
     
  2. StumpedTechy

    StumpedTechy

    Joined:
    Jul 7, 2004
    Messages:
    7,235
    dir /s Filename it will tell you every dir rooted under it E.G.

    C:\ Dir /s Filename will show you all Filename files under c: even if nested 4 directories down.

    As for copying and finding system files read this -

    You cannot copy the system file as is, because itÂ’s protected. For example, if you do "DIR IO.SYS" the file will not be found. You first have to change the file attributes:

    a:/> attrib -R -A -S -H IO.SYS

    then copy the file:

    a:/> copy IO.SYS c:/IO.SYS

    then change back the attributes:

    a:/> attrib +R +A +S +H c:/IO.SYS
     
  3. 24giovanni

    24giovanni Banned Thread Starter

    Joined:
    Jun 14, 2003
    Messages:
    1,083
  4. 24giovanni

    24giovanni Banned Thread Starter

    Joined:
    Jun 14, 2003
    Messages:
    1,083
    i tried the following:

    a:/> attrib -R -A -S -H IO.SYS

    then copy the file:

    c:/> copy IO.SYS a:/IO.SYS

    then change back the attributes:

    a:/> attrib +R +A +S +H c:/IO.SYS

    but it still wouldn't copy. What am I doing wgong please?

    TIA
     
  5. ~Candy~

    ~Candy~ Retired Administrator

    Joined:
    Jan 27, 2001
    Messages:
    103,706
    Marked unsolved as requested.
     
  6. 24giovanni

    24giovanni Banned Thread Starter

    Joined:
    Jun 14, 2003
    Messages:
    1,083
  7. ~Candy~

    ~Candy~ Retired Administrator

    Joined:
    Jan 27, 2001
    Messages:
    103,706
    How about just trying to copy to a: instead of specifying a file name?
     
  8. 24giovanni

    24giovanni Banned Thread Starter

    Joined:
    Jun 14, 2003
    Messages:
    1,083
    tried that too, candy but to no avail..any other ideas?
     
  9. ~Candy~

    ~Candy~ Retired Administrator

    Joined:
    Jan 27, 2001
    Messages:
    103,706
    What exactly is happening?
     
  10. 24giovanni

    24giovanni Banned Thread Starter

    Joined:
    Jun 14, 2003
    Messages:
    1,083
    i did try it again but now I get

    it says overwrite y/n/all and i try all3 but it says access denied. What am I doing wrong please?
     
  11. ~Candy~

    ~Candy~ Retired Administrator

    Joined:
    Jan 27, 2001
    Messages:
    103,706
    I'd say try another floppy disk ;)

    Is there another location that you can save it to other than a floppy? If so, try that.
     
  12. 24giovanni

    24giovanni Banned Thread Starter

    Joined:
    Jun 14, 2003
    Messages:
    1,083
    i've tried multiple floppies and the HD...would it be something else? Do you think JohnWIll would know?
     
  13. ~Candy~

    ~Candy~ Retired Administrator

    Joined:
    Jan 27, 2001
    Messages:
    103,706
    You've tried to copy it to the c: drive as well?

    Can I ask what exactly is your mission here? :D
     
  14. 24giovanni

    24giovanni Banned Thread Starter

    Joined:
    Jun 14, 2003
    Messages:
    1,083
    not hd meant cd...sorry.
     
  15. Squashman

    Squashman Trusted Advisor

    Joined:
    Apr 4, 2003
    Messages:
    19,786
    Why are you trying to copy IO.sys to a floppy.
     
  16. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/482273

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice