Hello - I need to find the line count for a text file process flow.
I used the syscommand node and used the following command,
wc -l filename.txt.
I tried the execution mode as run cmd.exe and automatic. We are on Windows.
It fails with following error..
Executing System Command Activity SysCommand9810... Full system command: cmd.exe /C wc -l D:\Interface\Srini.TXT Command output (combined): 'wc' is not recognized as an internal or external command, operable program or batch file. Command error output: 'wc' is not recognized as an internal or external command, operable program or batch file. SysCommand9810_errorOutput = 'wc' is not recognized as an internal or external command, operable program or batch file.
Please Advise
Srini,
You need to install wc.exe on the Landmark server and provide the full path to it in the SysCommand node. On our server that would be
d:\Cygwin64\bin\wc -l