batch file question

J

Jon

I want to write a small batch file that I will Schedule in win2k to
run every day at a certain time. This script needs to do the
following:

get today's day, i.e Monday, Tuesday, etc. and then run a command
inserting today's day into two places of the source path. like this:

xcopy c:\folder\%day of the week%\%day of the week%file.abc \
\10.10.10.13\Share

Seems easy, but how would I do that?? Thanks to all who respond!!
 
P

Poprivet

Jon said:
I want to write a small batch file that I will Schedule in win2k to
run every day at a certain time. This script needs to do the
following:

get today's day, i.e Monday, Tuesday, etc. and then run a command
inserting today's day into two places of the source path. like this:

xcopy c:\folder\%day of the week%\%day of the week%file.abc \
\10.10.10.13\Share

Seems easy, but how would I do that?? Thanks to all who respond!!

Better to try in alt.msdos.batch.nt; those guys are great.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Trailing blanks in batch file 22
Batch File Equivalent 3
sumif 2
Today's date in a batch file 20
Batch File Help 3
XP batch file question 1
Query with dates 1
Simple Batch/Script file Question 1

Top