Hello,
Here is the 1st time I try to create a script to run on Windows my script is designed to take a file the Zipper after the end rename and copy it to another folder
Infact we all generally works well but is a small concern is that in one part of my name I must insert the current date and then it freezes !!!!!!
what I try to do me
@ echo off
set dat=%date% set dat = date%%
cd C: \ Documents and Settings \ karimcherif \ Desktop
rar a-m0 "C: \ Documents and Settings \ karimcherif \ Desktop \ Folder1 \ Folder1" "Folder1"
cd C: \ Documents and Settings \ karimcherif \ Desktop \ Folder1
ren Folder1 * CIT8550L00_3680_010_001_%% _B1220I dat-APZ *
Copy / y "C: \ Documents and Settings \ karimcherif \ Desktop \ Folder1 \ CIT8550L00_3680_010_001_%% _B1220I dat-apz.rar" "C: \ Documents and Settings \ karimcherif \ Desktop \ File2"
but it does not work, so if you have any other ideas to insert date in the filename ?
still one last issue I want to know is that it is possible to run my script automatically at a specific hour every day?
thank you in advance for your help.
Bookmarks