WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: morenos1 on October 26, 2017, 02:46:06 PM

Title: Sysinternals tool.
Post by: morenos1 on October 26, 2017, 02:46:06 PM
Trying this:

From command line works fine
psinfo64.exe -s | find /i "Microsoft SQL Server" > c:\temp\_psinfo.txt

WinBatch, no output file gets created
RunShell("psinfo64.exe", '-s | find /i "Microsoft SQL Server" > c:\temp\_psinfo.txt', "c:\", @HIDDEN, @NOWAIT)
Title: Re: Sysinternals tool.
Post by: td on October 26, 2017, 03:01:00 PM

http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/DOS+Slash~C~and~Redirection~Symbol~Not~Working.txt (http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/nftechsupt.web+WinBatch/DOS+Slash~C~and~Redirection~Symbol~Not~Working.txt)