Search found 10 matches

by denday
11 Jan 2012 20:40
Forum: DOS Batch Forum
Topic: generate the output file
Replies: 6
Views: 5635

Re: generate the output file

thank you Dave for your helpful tip

please do not give up helping me. :D

have a nice day.
-denDay
by denday
11 Jan 2012 20:28
Forum: DOS Batch Forum
Topic: convert number
Replies: 3
Views: 4902

Re: convert number

@trebor68
Your script is correct but that's not what I need.
thanks for the time you spent.

@Aacini
This script is perfect for my needs.
I am very grateful for your help.

have a nice day
-denDay
by denday
11 Jan 2012 03:24
Forum: DOS Batch Forum
Topic: convert number
Replies: 3
Views: 4902

convert number

hi I have an 8 bit address of a variable and then want to turn it into a decimal variable address example "source.txt" 0.0,Some-Variable 0.1,Some-Variable 0.2,Some-Variable 0.3,Some-Variable 0.4,Some-Variable 0.5,Some-Variable 0.6,Some-Variable 0.7,Some-Variable 1.0,Some-Variable 1.2,Some-...
by denday
11 Jan 2012 01:37
Forum: DOS Batch Forum
Topic: generate the output file
Replies: 6
Views: 5635

Re: generate the output file

batch program that I need is to take the word of each segment and write it back into the csv file format as you have guessed. The following program I have tried and succeeded, which at first I had problems with parentheses. @echo off setlocal enableDelayedExpansion set inFile="test.txt" se...
by denday
10 Jan 2012 22:01
Forum: DOS Batch Forum
Topic: generate the output file
Replies: 6
Views: 5635

Re: generate the output file

thank you Dave for the answer. this list is a digital input, when the value is '1 'it will be OK and when the value is '0' it will be NOK. I tried the program and succeed, but then there are problems when there is a variable that consists of only 1 or 2 parts and more than 3 parts. suppose I have a ...
by denday
10 Jan 2012 02:53
Forum: DOS Batch Forum
Topic: generate the output file
Replies: 6
Views: 5635

generate the output file

hello, I need help again. I have a list of variables as follows: 1,10-A-1DI 2,20-A-1DI 3,10-B-1DI 4,20-B-1DI 5,10-C-1DI 6,20-C-1DI 7,NULL 8,10-A-2DI 9,20-A-2DI 10,10-B-2DI 11,20-B-2DI 12,10-C-2DI 13,20-C-2DI I hope the result('result.csv') is like this: Address,Variable,OK,NOK,GROUP,END 201,10-A-1DI...
by denday
19 Dec 2011 08:29
Forum: DOS Batch Forum
Topic: create sequence number.
Replies: 5
Views: 6410

Re: create sequence number.

Code: Select all

@echo off
does not work for me, but

Code: Select all

set /a counter+=1 >nul
works.
thank you orange_batch, you are truly an expert. :D
by denday
19 Dec 2011 01:16
Forum: DOS Batch Forum
Topic: create sequence number.
Replies: 5
Views: 6410

Re: create sequence number.

it's works..
any idea how to hide the results of the command "set /a counter +=1" being displayed?
by denday
18 Dec 2011 20:23
Forum: DOS Batch Forum
Topic: create sequence number.
Replies: 5
Views: 6410

Re: create sequence number.

Thank you very much for the reply. will try this now..
by denday
16 Dec 2011 02:44
Forum: DOS Batch Forum
Topic: create sequence number.
Replies: 5
Views: 6410

create sequence number.

hello, I denday from Indonesia. I need your help. I have a list of variables that contain more than 8000 lines of automatic variables created by other programs. This list will be used by another program but must add an additional variable. Additional variables are added at the end of the list and fo...