Batch File Rename + Date added & Move to another location



Hi

I hope someone can help. I have searched around all the posts but to
be honest i cant quite find what im lookng for exactly.

I need to run a batch file which will go to this location
c:\perflogs\networksops2.csv and move this file to a level down
c:\perflogs\archivedperflogs and rename the file keeping the original
name but adding a date to it ie networkops220070117.csv

This needs to be run every week on a schedule. The original location
every week will have the c:\perflogs\networksops2.csv file added by a
performance log. I need to then archive this data off so it is not
overwritten every week

Can anyone please help, I am new to batch file writing. This is what i
have so far. Not much i know

move c:\perflogs\networksops2.csv
c:\perflogs\archivedperflogs\networksops2.csv

hope someone can help me

thanks alot

Carla

.



Relevant Pages

  • FILENAME never gets a value when running gawk from a batch file
    ... after a few minutes of studying the FILENAME variable I cant ... I have a batch file that looks like: ... in my awk program I have tried to use this in my END statement (since ... I cant see why this should not work? ...
    (comp.lang.awk)
  • Re: how to use FOR in batch file to send DLLs to RegSer32 ?
    ... > someone else said I cant get it to scan SUB DIRS. ... > How would I add FOR in a batch file to resister OCXs + DLLs in the following ... > DIR structure assuming that I create a line in a batch file for each DIR? ...
    (microsoft.public.vb.general.discussion)
  • schedule task to run at night
    ... I have a small batch file that works I have tested it when working on my ... machines. ... I have indicated the correct user id and password but I ... still cant get this to run. ...
    (microsoft.public.windowsxp.general)
  • Re: Command Prompt Question
    ... This is all in a batch file so I cant simply add another line that ... The batch file executes this command in the ...
    (microsoft.public.windowsxp.general)