I am trying to call a command in batch file using "call" method and whatever is the output of that command, I want to write in a file. I went through from this link but cannot find the answer.
I am using this command
call %confPath% GetIniString %datFile% Keyname name >%newFile% >&1
but it creates a empty file always. How can i write the output of above command in the file?
Thanks in advance.