it start to print out those files that actually exist in the folder !!!
which should be printing those files that did not exist in the folder ! i am confuse.
Search found 43 matches
- 02 Apr 2014 03:52
- Forum: DOS Batch Forum
- Topic: if not exist doesn't seem to be working
- Replies: 6
- Views: 5997
- 02 Apr 2014 00:50
- Forum: DOS Batch Forum
- Topic: if not exist doesn't seem to be working
- Replies: 6
- Views: 5997
Re: if not exist doesn't seem to be working
oh...hmm...ok...
i amend it as alert_%%A.log already. But seem to be still the same.
i amend it as alert_%%A.log already. But seem to be still the same.
- 01 Apr 2014 22:20
- Forum: DOS Batch Forum
- Topic: if not exist doesn't seem to be working
- Replies: 6
- Views: 5997
if not exist doesn't seem to be working
hi guys, i can't to get it to work, for /F "tokens=1*" %%i in (%File_dbname%) do ( for %%A in (%%j) do ( echo **********************************************************************>>%output-file% echo %%A DB daily check ORA-ERROR at %%i>>%output-file% echo *********************************...
- 01 Oct 2013 03:15
- Forum: DOS Batch Forum
- Topic: timestamp log changed so findstr no long works
- Replies: 0
- Views: 8198
timestamp log changed so findstr no long works
hi, my monitoring script use to be able to work but not after a patch on the database, that changes the timezone. alert log: Mon Sep 30 11:26:56 SST 2013 Errors in file /opt/ora10g/admin/ACERUAT/udump/aceruat_ora_16453.trc: ORA-00600: internal error code, arguments: [kokegPinLob1], [], [], [], [], [...
- 03 May 2013 02:29
- Forum: DOS Batch Forum
- Topic: compare log file timestamp wth system date
- Replies: 16
- Views: 17857
Re: compare log file timestamp wth system date
let me see..... (abc0502)
- 02 May 2013 03:17
- Forum: DOS Batch Forum
- Topic: compare log file timestamp wth system date
- Replies: 16
- Views: 17857
Re: compare log file timestamp wth system date
yes, is past 7 days. why it should be only 2 entires ? you mean the output is: ??? Sun Apr 28 14:15:31 SST 2013 ORA-00060: Deadlock detected. More info in file /opt/ora10g/admin/OCEANSIT/udump/oceansit_ora_6020.trc. Mon Apr 29 17:15:31 SST 2013 ORA-00060: Deadlock detected. More info in file /opt/o...
- 02 May 2013 02:49
- Forum: DOS Batch Forum
- Topic: compare log file timestamp wth system date
- Replies: 16
- Views: 17857
Re: compare log file timestamp wth system date
one more question Is it last seven days or last seven inputs? I see here in your example missing days, os if you need last 7 days there could be only two entries in the past 7 days depending on current date Edited: And one more thing, in your cmd write: Echo %date% and post the result here, we need...
- 01 May 2013 21:49
- Forum: DOS Batch Forum
- Topic: compare log file timestamp wth system date
- Replies: 16
- Views: 17857
Re: compare log file timestamp wth system date
Endoro wrote:foxidrive wrote:You haven't given enough feedback for anyone to want to try and help you further.
I asked you for a larger sample of the log file that we could download and figure out how to process
More input, please.
do u really need it to be downloadable?
That is the exact log format i have.???
- 01 May 2013 19:39
- Forum: DOS Batch Forum
- Topic: compare log file timestamp wth system date
- Replies: 16
- Views: 17857
Re: compare log file timestamp wth system date
how do you want to extract the data ? for example, you enter a number that represent an amount of days let's say 22, and the batch will display the last 22 days. is that what you need ? or you want to enter a date in format DD/MM/YYYY, and how many days after or before that date to display ? Hint: ...
- 01 May 2013 19:18
- Forum: DOS Batch Forum
- Topic: compare log file timestamp wth system date
- Replies: 16
- Views: 17857
Re: compare log file timestamp wth system date
Squashman wrote:Haven't you already started several other threads about this same topic?
no. since the previous is of different issue.
- 30 Apr 2013 04:12
- Forum: DOS Batch Forum
- Topic: compare log file timestamp wth system date
- Replies: 16
- Views: 17857
compare log file timestamp wth system date
hi , i have a log file in this format: Tue Feb 05 12:35:31 SST 2013 ORA-00060: Deadlock detected. More info in file /opt/ora10g/admin/OCEANSIT/udump/oceansit_ora_5520.trc. Sun Mar 10 16:15:31 SST 2013 ORA-00060: Deadlock detected. More info in file /opt/ora10g/admin/OCEANSIT/udump/oceansit_ora_5820....
- 10 Apr 2013 22:51
- Forum: DOS Batch Forum
- Topic: adding any amount of extra space via echo
- Replies: 2
- Views: 3927
Re: adding any amount of extra space via echo
tks endoro.
- 10 Apr 2013 22:44
- Forum: DOS Batch Forum
- Topic: how to trasfer file from one window system to window
- Replies: 5
- Views: 5536
Re: how to trasfer file from one window system to window
tks again.
both system are on the same network.
and i am trying to create a .bat that will connect to the remote server and copy the file over to my local pc.
both system are on the same network.
and i am trying to create a .bat that will connect to the remote server and copy the file over to my local pc.
- 10 Apr 2013 20:03
- Forum: DOS Batch Forum
- Topic: how to trasfer file from one window system to window
- Replies: 5
- Views: 5536
Re: how to trasfer file from one window system to window
tks.
is actually get files from a remote windows box into my local system (also running in win xp).
please further advice.
I don't think ftp/PSFTP can be use for the connection part.
is actually get files from a remote windows box into my local system (also running in win xp).
please further advice.
I don't think ftp/PSFTP can be use for the connection part.
- 10 Apr 2013 05:44
- Forum: DOS Batch Forum
- Topic: how to trasfer file from one window system to window
- Replies: 5
- Views: 5536
how to trasfer file from one window system to window
hi guys,
would appreciate if you can advice, how can i get a file from a window to my local window system.
So far i have use psftp to get a file from a unix box to my local window system.
trying to include that in my batch script file.
would appreciate if you can advice, how can i get a file from a window to my local window system.
So far i have use psftp to get a file from a unix box to my local window system.
trying to include that in my batch script file.