tai cia tik pvz pamastymui :) ok, ziurek i sita eilute: COPY %Loghome%\*.log %ArchiveLog%\*%wazdate:~10,4%%wazdate:~4,2%%wazdate:~7,2%_%waztime:~0,2%%waztime:~3,2%%waztime:~6,2%.logLoghome butu source, o ArchiveLog butu dest.K."m.k." <m.kulikauskas@lrtc.lt> wrote in messagenews:gmuihp$t8j$1@trimpas.omnitel.net...> tiesa kurioj cia vietoj pakeisti source ir destination ? Ta prasme, vieta,is kurios kopijuos ir vieta, i kuria kopijuos ?> "Kazius" <nospam@nomail.no> wrote in messagenews:gmrdfd$qu0$1@trimpas.omnitel.net...>> Gal kazkas tokio tiks:>>>> @echo off>>>> set Loghome=B:\JobSched\Log>>>> set ArchiveLog=B:\JobSched\Log\Test>>>> set Errhome=B:\JobSched\error>>>> set ArchiveError=B:\JobSched\error\Test>>>> set waztime=%TIME%>>>> set wazdate=%DATE%>>>> echo %wazdate%>>>> echo %wazdate:~10,4%%wazdate:~4,2%%wazdate:~7,2%>>>> echo %waztime%>>>> echo %waztime:~0,2%%waztime:~3,2%%waztime:~6,2%>>>> COPY %Loghome%\*.log%ArchiveLog%\*%wazdate:~10,4%%wazdate:~4,2%%wazdate:~7,2%_%waztime:~0,2%%waztime:~3,2%%waztime:~6,2%.log>> COPY %Errhome%\*.err%ArchiveError%\*%wazdate:~10,4%%wazdate:~4,2%%wazdate:~7,2%_%waztime:~0,2%%waztime:~3,2%%waztime:~6,2%.err>>>> end: return.>>>>>>>>>> "m.k." <m.kulikauskas@lrtc.lt> wrote in messagenews:gmr40j$df3$1@trimpas.omnitel.net...>>> Sveiki. Gal galit uzvest ant kelio kaip parasyt skriptuka (*.exe) faila,kuris kopijuotu visus failus is vienos direktorijos i kita, prie jupavadinimu pridedamas data? Konkreciai tai is tinklo kaskokio folderio idisko koki nors folderi...pvz:>>> \\192.168.254.1\diskas\*.* -> c:\backup\*-20090209.*. Esu programines suC++ bet tik pradmenis (masyvus, kazkiek objektini) bet net neissivaizduojuka cia daryt...gal cia koki *.BAT failiuka parasyt lengviau ?>>>>>>>>>