Hi,
I need batch file that can use xcopt,robocopy...
It's copy from source to dest only the files that on dest are empty files(with 0 size).
like copy not overwrite but only for empty files on dest...
Thanks in advance...
Search found 66 matches
- 15 Jan 2014 08:49
- Forum: DOS Batch Forum
- Topic: copy files with exclude
- Replies: 8
- Views: 6108
- 10 Nov 2013 04:29
- Forum: DOS Batch Forum
- Topic: working on cluster service
- Replies: 1
- Views: 2391
Re: working on cluster service
any advice or response?
- 07 Nov 2013 10:30
- Forum: DOS Batch Forum
- Topic: working on cluster service
- Replies: 1
- Views: 2391
working on cluster service
Hi, I need a script to do the following flow: 1. get a list.txt file that have a list like this: abc;tyservice dfg;cyservice 2.It's ask how many node it have in cluster and put in a file (node.txt) 3.check about any res where is ruining and put in in file.(res.txt) 4.check about the service if it ru...
- 07 Nov 2013 01:21
- Forum: DOS Batch Forum
- Topic: manipulate data from table
- Replies: 7
- Views: 5901
Re: manipulate data from table
Hi,
Can you explain in deeply all the issue of skip and token here?
Thanks,
Eran
Can you explain in deeply all the issue of skip and token here?
Thanks,
Eran
- 06 Nov 2013 15:04
- Forum: DOS Batch Forum
- Topic: manipulate data from table
- Replies: 7
- Views: 5901
Re: manipulate data from table
Hi,
Like you edit the first one.
There is only one space between -----.
And the data below the ---- is aligned to the title.
Thanks....
Like you edit the first one.
There is only one space between -----.
And the data below the ---- is aligned to the title.
Thanks....
- 06 Nov 2013 13:33
- Forum: DOS Batch Forum
- Topic: manipulate data from table
- Replies: 7
- Views: 5901
Re: manipulate data from table
oh I saw ont the web the bbcode ... <table> <tbody> <tr> <th>Resource</th> <th>group</th> <th>Node</th> <th>status</th> </tr> <tr> <td>ABC</td> <td>PHX00483</td> <td>try00481</td> <td>Online</td> </tr> And the second table.... <table> <tbody> <tr> <th>Node</th> <th>ID</th> <th>status</th> </tr> <tr>...
- 06 Nov 2013 13:23
- Forum: DOS Batch Forum
- Topic: manipulate data from table
- Replies: 7
- Views: 5901
Re: manipulate data from table
Here I put the output of the command-line more clearrly (I dont' know the bbcode....) Resource Group Node Status ---------- --------- -------------------- --------------- ABC PHX00483 try00481 Online Node Node ID Status -------------- ------- -------------------- try00481 1 Up try00481 2 Up I need t...
- 06 Nov 2013 10:21
- Forum: DOS Batch Forum
- Topic: manipulate data from table
- Replies: 7
- Views: 5901
manipulate data from table
Hi, I have a abtch that doing process with cluster. I need to get date from table like: I run the command : cluster res "ABC" /stat and get the output: Listing status for resource 'ABC': Resource Group Node Status -------------------- -------------------- --------------- ------ ABC PHX0048...
- 03 Nov 2013 06:37
- Forum: DOS Batch Forum
- Topic: Change in date input
- Replies: 12
- Views: 13258
Re: Change in date input
Hi,
Thanks
But I only want the 2 lines to adding to my script to add 1 to the current day and get the new variblr to use after...
Thanks
But I only want the 2 lines to adding to my script to add 1 to the current day and get the new variblr to use after...
- 03 Nov 2013 05:31
- Forum: DOS Batch Forum
- Topic: Change in date input
- Replies: 12
- Views: 13258
Change in date input
Hi, I have a script the collect the date and do processing on this directory FOR /F " tokens=1,2,3,4 delims=/,-,. " %%i IN ('date /T') DO set currentdate=%%k%%j I want to add 1 to the day (of today) and then doing xcopy /e /o /h /k "G:\Clear\%currentdate%\*.*" "H:\*.*" ...
- 07 Aug 2013 04:21
- Forum: DOS Batch Forum
- Topic: log parsing
- Replies: 3
- Views: 3832
Re: log parsing
Hi,
Thanks i did'nt understand 100% what it's print in th output file beacuse i saw there also line with warning indside.
I just want to print the line with "fatal error" inside.
Thanks i did'nt understand 100% what it's print in th output file beacuse i saw there also line with warning indside.
I just want to print the line with "fatal error" inside.
- 07 Aug 2013 01:57
- Forum: DOS Batch Forum
- Topic: log parsing
- Replies: 3
- Views: 3832
log parsing
Hi,
I need a script that get a log file as an input a looking for a line with "fatal error" if he find it print all this line to another output file.
Thanks in advance....
I need a script that get a log file as an input a looking for a line with "fatal error" if he find it print all this line to another output file.
Thanks in advance....
- 22 Jul 2013 06:18
- Forum: DOS Batch Forum
- Topic: Script changed by input
- Replies: 9
- Views: 7646
Re: Script changed by input
Hi, Two things : 1.I want it to be dynamical according to what i'm writing in the id varible. It can be : SET ID=0,1 (to run twice) or SET ID=0 (to run once). 2. In the loop inside I want to set my varible to the id input It is right to write: SET FACILITY=%%a ? Thanks....
- 22 Jul 2013 06:03
- Forum: DOS Batch Forum
- Topic: Script changed by input
- Replies: 9
- Views: 7646
Re: Script changed by input
Hi, It's not working for me Let's me explain more... In the first of the script i set it like SET ID=0,1,2 Then my func should run three time first time setting a varible that it's used inside to 0 second time setting a varible that it's used inside to 1 third time setting a varible that it's used i...
- 22 Jul 2013 03:14
- Forum: DOS Batch Forum
- Topic: Script changed by input
- Replies: 9
- Views: 7646
Re: Script changed by input
Hi,
I didnt understand what (%id:;= %) mean?
I didnt understand what (%id:;= %) mean?