Write return

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
dikkill
Posts: 1
Joined: 15 Feb 2016 07:12

Write return

#1 Post by dikkill » 15 Feb 2016 07:27

Hi,

I have a simple dos program that reads the name of the IC on the board. The program works fine and it reads the IC properly. In a return it writes the name of the IC like the image shows below:
Image

But it does not write the name MINI52ZDE anywhere (exit code for example), so i could know what type of a IC it is.
I would like to have the exit code MINI52ZDE or write the detection to a .txt file so i can run another program depending on the detection of IC (i have 2 diffrent types).

This is the code i used for that .bat file:

Code: Select all

NuLink –r UID > tip.txt
NuLink -p


:finish
pause


Without the quotes :). The tip.txt file is used to write the the name, but im always getting a command error written in the tip.txt file.

Any have any solution to this?

Best
Last edited by Squashman on 15 Feb 2016 07:35, edited 1 time in total.
Reason: MOD EDIT: Please use code tags

Squashman
Expert
Posts: 4486
Joined: 23 Dec 2011 13:59

Re: Write return

#2 Post by Squashman » 15 Feb 2016 07:40


Post Reply