Search found 9 matches

by H5N1 Bird Flu
09 Feb 2012 07:38
Forum: DOS Batch Forum
Topic: DATE filtering (08 and 09 get error)
Replies: 5
Views: 6298

Re: DATE filtering (08 and 09 get error)

OK..I understood...thx for explanation :)

keep it up...great forum 8)
by H5N1 Bird Flu
09 Feb 2012 01:10
Forum: DOS Batch Forum
Topic: DATE filtering (08 and 09 get error)
Replies: 5
Views: 6298

Re: DATE filtering (08 and 09 get error)

Yes I used SET /A command in script. solved with this script.....for my region date format (št 09.02.2012) set sd=%DATE:~3,2% set /a result=%sd:~0,1% if %result% equ 0 (set /a rd=%sd:0=%) else (set /a rd=%sd%) echo %rd% THX for advices to both but don´t understand what does it means that 100 and %%1...
by H5N1 Bird Flu
08 Feb 2012 15:19
Forum: DOS Batch Forum
Topic: DATE filtering (08 and 09 get error)
Replies: 5
Views: 6298

DATE filtering (08 and 09 get error)

Hi,

I tried to filtering just day number from variable %DATE% , but have a problem with date 08.2. and 09.2. . I get error cause 08 and 09 are not valid numbers and so on.

Exist some easy solution how to obtain this value as DEC value ?

THX for any reply.
by H5N1 Bird Flu
08 Feb 2012 14:14
Forum: DOS Batch Forum
Topic: How to list of used variables ?
Replies: 3
Views: 4492

Re: How to list of used variables ?

OK..thx for reply :)

....the first solution shows that it is possible also with SET command :)

...but I can´t use hard code of variables cause I don´t know how many variables will be there finally. It´s up to user when he sets ini file ,from which batch file is loading variables....
by H5N1 Bird Flu
08 Feb 2012 04:15
Forum: DOS Batch Forum
Topic: How to list of used variables ?
Replies: 3
Views: 4492

Re: How to list of used variables ?

OK....I solved my self....

Correct form:

for /l %%G in (14,1,18) do (
echo !v%%G!
)
by H5N1 Bird Flu
08 Feb 2012 03:16
Forum: DOS Batch Forum
Topic: How to list of used variables ?
Replies: 3
Views: 4492

How to list of used variables ?

Hi I want to list of used variables ,but without command SET cause i don´t want to display name of variables just arguments. etc. I have variables v1 to v18. I want to display arguments of variables from v14 to v18.(just arguments) for /l %%G in (14,1,18) do ( echo %v%%G% ) I don´t know correct synt...
by H5N1 Bird Flu
24 Jan 2012 12:44
Forum: DOS Batch Forum
Topic: Text filtering from list
Replies: 4
Views: 3973

Re: Text filtering from list

I know something about structure of that DAT file ,but it doesn´t matter now. I expect that when I see text via notepad I will be able to sort him ,but it isn´t possible. I don´t know that ..thx for explaining to me... ..at last thx again for your atttention to me.... If you want you can delete this...
by H5N1 Bird Flu
24 Jan 2012 11:37
Forum: DOS Batch Forum
Topic: Text filtering from list
Replies: 4
Views: 3973

Re: Text filtering from list

Yes you have right..it´s DAT file ,but it is possible to open with Notepad. This DAT file is a part of MP game.Contains unwanted players who has cheating on my game server.Problem is that direct in game console im able to see just last 100 BANs. So im not able to remove older BANs caus I don´t see t...
by H5N1 Bird Flu
23 Jan 2012 15:03
Forum: DOS Batch Forum
Topic: Text filtering from list
Replies: 4
Views: 3973

Text filtering from list

Hi to everyone I need helpwith filtering this text cause im really confused from this via batch...try many variants ,but without succes... text: flycheat79.191.68.110 fastshoot 88.207.27.41 fastshoot 82.100.48.4 fastshoot77.234.232.192 wallhack 86.81.78.143 hack109.60.121.29 fastshoot94.127.128...