TechSpot

Batch File Help

By maXimus4444
Feb 21, 2007
Topic Status:
Not open for further replies.
  1. I'm trying to create a batch file which copies one file from one location to another. The problem is the name of the file changes with the date. (The date is part of the filename) I don't want to copy all the files just the most recent file. Is there an attribute I'm missing from the xcopy command? Thanks

    -maX
  2. zipperman

    zipperman TS Rookie Posts: 1,423   +7

    Please include OS

    This sounds like a Dos/W95 machine.
    I created batch files then for my Dos games.
  3. maXimus4444

    maXimus4444 TS Rookie Topic Starter Posts: 118

  4. zipperman

    zipperman TS Rookie Posts: 1,423   +7

    Copying files

    Batch files .bat aren't meant for that type of operation.
    If so you'd need to create one for every file you want to move.
    Are you haveing difficulty useing cut/copy then paste ?
    There are also other ways.
  5. maXimus4444

    maXimus4444 TS Rookie Topic Starter Posts: 118

    I'm creating the batch file for someone else. This person has no skills with a computer. I wanted to make a batch file, so all they need to do is run that instead of copy/paste.

    How would you suggest going about it zipp?
  6. zipperman

    zipperman TS Rookie Posts: 1,423   +7

    My best advice

    Teach him how you do it.Let him learn the proper way to use his PC.
    I use 2xExplorer and it makes this very easy.I will help you learn how to
    configure it to a split window.Then you just drag the file from one to the other.

    http://netez.com/
    But it's not a batch file operation,please forget that idea.
  7. Nodsu

    Nodsu TS Rookie Posts: 9,431

  8. maXimus4444

    maXimus4444 TS Rookie Topic Starter Posts: 118

    No I don't have any experience with the batch files. I'm coming to the conclusion that they are a PITA! I think its time for him to learn how to copy and paste the files himself! Thanks for your help.

    -maX
  9. Nodsu

    Nodsu TS Rookie Posts: 9,431

    If you would explain the situation exactly, maybe someone is able to put together a solution for you..
Topic Status:
Not open for further replies.


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.