Results 1 to 6 of 6

Thread: Dos Question

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Dos Question

    I stilll live in the dark ages & like using dos, is there an equivalent of the xcopy command in true / non windows dos), or has anyone got a batch file script that'll copy all files & folders from a to b please ?

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  2. #2
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    I used to use xcopy all the time before Windows was around. Are you sure it's not there? Perhaps it's an optional utility, or perhaps it's just not in your path.
    Harry.

    "From one thing, know ten thousand things."

  3. #3
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    What version of DOS are you running then?

    Interestingly:
    I just knocked up a batch to test copying some old files
    Code:
    cd C:\FRT\java
    for %%f in (*.*) do call copy %%f c:\frt\faxin\%%f
    My virus checker thinks it's a virus and deletes the file!


    Mark
    -------------------

  4. #4
    Frenzied Member
    Join Date
    Jul 1999
    Location
    Huntingdon Valley, PA 19006
    Posts
    1,151
    DOS 6.22 has Xcopy. I think that 5.0 also had it.

    What version of DOS are you running?

    When I ran DOS, I used the Xtree Utility for fancy file management purposes. If you do a lot of DOS work, it would be worth your while to find a copy some where.

    For Windows 9x, I have been using Ztree, which is a Win 9x version of Xtree. For many purposes, it is better than Explorer, athough is it not a repalcement.
    Live long & prosper.

    The Dinosaur from prehistoric era prior to computers.

    Eschew obfuscation!
    If a billion people believe a foolish idea, it is still a foolish idea!
    VB.net 2010 Express
    64Bit & 32Bit Windows 7 & Windows XP. I run 4 operating systems on a single PC.

  5. #5

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    I was trying to use the very basic dos tools you get before windows starts, after reading Harrys one it made me think & I put the file on a boot disk & used it.

    Thanks all - Mark, is there a site that you can learn that kind of dos/batch scripting from please

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  6. #6
    Frenzied Member Skitchen8's Avatar
    Join Date
    Feb 2001
    Location
    Binghamotn, NY
    Posts
    1,943
    Originally posted by alex_read
    I was trying to use the very basic dos tools you get before windows starts, after reading Harrys one it made me think & I put the file on a boot disk & used it.

    Thanks all - Mark, is there a site that you can learn that kind of dos/batch scripting from please
    if your using any dos (above i think 5) then u have xcopy, if your using an older version of dos then its time to come out of the cave and realize that newer better things have been invented (DOS 6.2)
    Government is another way to say better…than…you.
    It’s like ice but no pick, a murder charge that won’t stick,
    it’s like a whole other world where you can smell the food,
    but you can’t touch the silverware.
    Huh, what luck. Fascism you can vote for.
    Humph, isn’t that sweet?
    And we’re all gonna die some day, because that’s the American way
    -Stone Sour

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width