I have some bash things I need to translate into either powershell or cmd.exe. Can you tell me how to translate
(1) myProgramThatReadsFromStdIn <<EOF
data read by program
last line of data read by by program from standard input
EOF
anotherCommand.exe
(2) myProgram >"myProgram_`date`.log"
This will give me a unique log file everytime I run myProgram.exe.
(3) export Result="`perl xyz.pl`"
How can I get the results of a program so I can use it in a .bat or .cmd file?
Thanks,
siegfried
(1) myProgramThatReadsFromStdIn <<EOF
data read by program
last line of data read by by program from standard input
EOF
anotherCommand.exe
(2) myProgram >"myProgram_`date`.log"
This will give me a unique log file everytime I run myProgram.exe.
(3) export Result="`perl xyz.pl`"
How can I get the results of a program so I can use it in a .bat or .cmd file?
Thanks,
siegfried