Jump to content

differences in stdout between win64bit and win32bit


Recommended Posts

While playing a little with the shell in winxp64 I stumbled across a strange problem:

When I run the command

tasklist /FI "USERNAME eq %USERDOMAIN%\%USERNAME%" /FI "ImageName eq msiexec.exe"

On a WinXp 64 bit, I get the output

INFO: No tasks are running which match the specified criteria.

on a WinXP 32bit, I get

INFO: No tasks running with the specified criteria.

So nearly the same

But when I run the command

for /f "tokens=1" %i in ('tasklist /FI "USERNAME eq %USERDOMAIN%\%USERNAME%" /FI "ImageName eq msiexec.exe"') do echo anything

on a 64bit xp, I get the output:

D:\>echo anything
anything

on a 32bit xp, I get the output

INFO: No tasks running with the specified criteria.

So it seems, that on a 32bit xp the INFO message seems not to be in the stdout, but it is in 64bit xp.

Can anyone explain this to me?

Especially, does anyone know, where the message on a 32bit xp is redirected?

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...