I have a command such as "c:\program files\7-zip\7z.exe" x foo.7z -y which will extract (with full paths) to the current directory.
What it does that I don't want, though, is spool out the individual paths to stdout. This is information that I don't need.
However, on windows, redirecting this to NUL (the equivalent of /dev/null on Windows) a la "c:\program files\7-zip\7z.exe" x foo.7z -y > NUL produces no unzip'd files, because 7-zip seems to unzip to NUL instead of pushing the command text-output to NUL (which is what we want).
Actually - that command works from a windows command shell (ie, it unzips the files as I want but without logging text to the console), but doesn't from TeamCity's agent execution within its command-line build-runner (ie, it unzips into NUL).
How do I get it to do the same thing within TeamCity (which is executing as a service)?
