"Ross Smith II" <[EMAIL PROTECTED]> writes:
> The following package has recently been added to the Cygwin distribution:
>
> email-2.3.0-2:
Summary:
The path to the fortune program is "/usr/bin/fortune", email thinks it
is "/usr/games/fortune".
Detail:
I put "%f" in "/etc/email/email.sig" to
286 24 SVCHOST.EXE
[...]
--
Stephen Powell
stephen_powell optusnet.com.au
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
in\bin\sh.exe /c/somePath/P.sh", 0, True)
Wscript.Quit(intErr)
--End P.vbs--
and schedule it as
"C:\WINDOWS\SYSTEM32\WSCRIPT.EXE //b c:\somePath\P.vbs"
under the task scheduler.
--
Stephen Powell
[EMAIL PROTECTED]
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
-p info -t "This is my Program" "This is my message"
The -p parameter is info, warn or error and is written to the type field.
The -t parameter is written into the source field of the event record.
The message is written to the description field of the event recor
rc=0
Without /b:
$ cat b.bat
exit 2
$ cmd /c b.bat ; echo rc=$?
C:\winnt\temp>exit 2
rc=2
$ cmd /ver
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
--
Stephen Powell
[EMAIL PROTECTED]
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-si
quires a variant redirection
> syntax:
> BASH & ash:
[...]
> commandThatProducesErrorMessages >allOutput 2>&1
In BASH you can also use &> to redirect standard output and standard
error to the same place. I find this easier to type. See the BASH
man pag
the parent process (PPID) of the Windows registry
editor (regedit) is the bash shell.
--
Stephen Powell
[EMAIL PROTECTED]
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
7 matches
Mail list logo