If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to copy file through bat-file only at appointed day of week?
hello,
how can i copy text file through bat-script only one time a week, for example at friday? Thank you very much in advance. |
Ads |
#2
|
|||
|
|||
How to copy file through bat-file only at appointed day of week?
"Natalia" wrote in message ... hello, how can i copy text file through bat-script only one time a week, for example at friday? Thank you very much in advance. You use the Windows Task Scheduler to launch the batch file at the required time each Friday. |
#3
|
|||
|
|||
How to copy file through bat-file only at appointed day of wee
Thank you very much for your answer. Is it only way to do this?
"Pegasus (MVP)" wrote: "Natalia" wrote in message ... hello, how can i copy text file through bat-script only one time a week, for example at friday? Thank you very much in advance. You use the Windows Task Scheduler to launch the batch file at the required time each Friday. |
#4
|
|||
|
|||
How to copy file through bat-file only at appointed day of wee
No, it isn't. You could also get a batch file to run all the time and check
the date and time once every minute. While this would work, it would be a clunky and unreliable method. The Task Scheduler is the ideal tool for your purpose. "Natalia" wrote in message ... Thank you very much for your answer. Is it only way to do this? "Pegasus (MVP)" wrote: "Natalia" wrote in message ... hello, how can i copy text file through bat-script only one time a week, for example at friday? Thank you very much in advance. You use the Windows Task Scheduler to launch the batch file at the required time each Friday. |
#5
|
|||
|
|||
How to copy file through bat-file only at appointed day of wee
thank you very much for your answer
"Pegasus (MVP)" wrote: No, it isn't. You could also get a batch file to run all the time and check the date and time once every minute. While this would work, it would be a clunky and unreliable method. The Task Scheduler is the ideal tool for your purpose. "Natalia" wrote in message ... Thank you very much for your answer. Is it only way to do this? "Pegasus (MVP)" wrote: "Natalia" wrote in message ... hello, how can i copy text file through bat-script only one time a week, for example at friday? Thank you very much in advance. You use the Windows Task Scheduler to launch the batch file at the required time each Friday. |
#6
|
|||
|
|||
How to copy file through bat-file only at appointed day of wee
"Natalia" wrote in message ... thank you very much for your answer You're welcome. |
#7
|
|||
|
|||
How to copy file through bat-file only at appointed day of wee
i'm really sorry for asking your advice again but is it safe to use such a way:
for /f %%i in ('wmic path win32_LocalTime get DayOfWeek') do set wd=%%i echo %wd% thank you "Pegasus (MVP)" wrote: "Natalia" wrote in message ... thank you very much for your answer You're welcome. |
#8
|
|||
|
|||
How to copy file through bat-file only at appointed day of wee
The command "wmic path win32_LocalTime get DayOfWeek" doesn't work on my
machine. What do you expect it to generate? And what do you get when you type this command at the Command Prompt: echo %date%{Enter} "Natalia" wrote in message ... i'm really sorry for asking your advice again but is it safe to use such a way: for /f %%i in ('wmic path win32_LocalTime get DayOfWeek') do set wd=%%i echo %wd% thank you "Pegasus (MVP)" wrote: "Natalia" wrote in message ... thank you very much for your answer You're welcome. |
#9
|
|||
|
|||
How to copy file through bat-file only at appointed day of wee
dear Pegasus, i really thank you for spending your time on my requests
echo %date%{Enter} 16.12.2008 when i start command for /f %%i in ('wmic path win32_LocalTime get DayOfWeek') do set wd=%%i echo %wd% i see wd=2 (which means today is 2nd day of week) thank you "Pegasus (MVP)" wrote: The command "wmic path win32_LocalTime get DayOfWeek" doesn't work on my machine. What do you expect it to generate? And what do you get when you type this command at the Command Prompt: echo %date%{Enter} "Natalia" wrote in message ... i'm really sorry for asking your advice again but is it safe to use such a way: for /f %%i in ('wmic path win32_LocalTime get DayOfWeek') do set wd=%%i echo %wd% thank you "Pegasus (MVP)" wrote: "Natalia" wrote in message ... thank you very much for your answer You're welcome. |
#10
|
|||
|
|||
How to copy file through bat-file only at appointed day of wee
You ask if it is safe to use this command. Yes, of course it is, and if it
works for you, great! "Natalia" wrote in message ... dear Pegasus, i really thank you for spending your time on my requests echo %date%{Enter} 16.12.2008 when i start command for /f %%i in ('wmic path win32_LocalTime get DayOfWeek') do set wd=%%i echo %wd% i see wd=2 (which means today is 2nd day of week) thank you "Pegasus (MVP)" wrote: The command "wmic path win32_LocalTime get DayOfWeek" doesn't work on my machine. What do you expect it to generate? And what do you get when you type this command at the Command Prompt: echo %date%{Enter} "Natalia" wrote in message ... i'm really sorry for asking your advice again but is it safe to use such a way: for /f %%i in ('wmic path win32_LocalTime get DayOfWeek') do set wd=%%i echo %wd% thank you "Pegasus (MVP)" wrote: "Natalia" wrote in message ... thank you very much for your answer You're welcome. |
#11
|
|||
|
|||
How to copy file through bat-file only at appointed day of wee
thank you very much again
"Pegasus (MVP)" wrote: You ask if it is safe to use this command. Yes, of course it is, and if it works for you, great! "Natalia" wrote in message ... dear Pegasus, i really thank you for spending your time on my requests echo %date%{Enter} 16.12.2008 when i start command for /f %%i in ('wmic path win32_LocalTime get DayOfWeek') do set wd=%%i echo %wd% i see wd=2 (which means today is 2nd day of week) thank you "Pegasus (MVP)" wrote: The command "wmic path win32_LocalTime get DayOfWeek" doesn't work on my machine. What do you expect it to generate? And what do you get when you type this command at the Command Prompt: echo %date%{Enter} "Natalia" wrote in message ... i'm really sorry for asking your advice again but is it safe to use such a way: for /f %%i in ('wmic path win32_LocalTime get DayOfWeek') do set wd=%%i echo %wd% thank you "Pegasus (MVP)" wrote: "Natalia" wrote in message ... thank you very much for your answer You're welcome. |
Thread Tools | |
Display Modes | |
|
|