http://superuser.com/questions/563016/why-is-java-exe-not-visible-from-cygwin-but-is-visible-from-command-prompt
--
C:\Windows\SysWOW64>dir msg*
Volume in drive C has no label.
Volume Serial Number is 1006-A31B
Directory of C:\Windows\SysWOW64
07/13/2009 09:14 PM 12,288 msg711.acm
07/13/2009 09:14 PM 23,552 msgsm32.acm
2 File(s) 35,840 bytes
--
cheers
jeff
From: Aaron Coburn <[email protected]>
To: "[email protected]" <[email protected]>,
Date: 04/19/2013 04:28 PM
Subject: msg command not running on windows7 images
Has anyone else encountered problems with the 'msg' command on Windows 7
(64-bit enterprise) computers?
Typically, when there is 5 and 10 minutes remaining in a reservation, vcld
issues the following command:
msg {username} /TIME:180 '{message}'
and an alert box appears to inform the user to extend their reservation or
prepare to logout.
The command fails, however, with the following message:
bash: msg: command not found
The strange part of this, however, is that if I am logged into an active
VCL session over RDP, I can run that command just fine from the console.
Likewise, I can navigate to C:\Windows\System32 and see msg.exe listed,
but if I start up a Cygwin session (on the same computer), the file is
simply not there:
ls /cygdrive/c/Windows/System32/msg.exe
And the response is:
ls: cannot access /cygdrive/c/Windows/System32/msg.exe: No such file or
directory
This does not affect WindowsXP images, and it also works fine on the
32-bit versions of Windows7. Furthermore, I seem to recall that this used
to work on 64-bit Windows7 images, but it certainly doesn't at present.
Any ideas?
Thanks,
Aaron
--
Aaron Coburn
Systems Administrator and Programmer
Academic Technology Services, Amherst College
[email protected]<mailto:[email protected]>