Batch File Help

Status
Not open for further replies.

maXimus4444

Posts: 83   +0
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
 
Please include OS

This sounds like a Dos/W95 machine.
I created batch files then for my Dos games.
 
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.
 
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?
 
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.
 
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
 
If you would explain the situation exactly, maybe someone is able to put together a solution for you..
 
Status
Not open for further replies.
Back