This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Calling cygwin-commands from a batchfile in Windows !!
- From: JC Jan Christensen <jan dot christensen at riva-systems dot dk>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Thu, 23 May 2002 10:45:17 +0200
- Subject: Calling cygwin-commands from a batchfile in Windows !!
Dear Sirs
I have some questions for you about cygwin !!!!
How do I create a new "UNIX"-user in cygwin ??
How do I create a new "UNIX"-user in cygwin from a batchfile in Windows
(CREAUSER.BAT) ??
How do I delete a "UNIX"-user in cygwin ??
How do I delete a "UNIX"-user in cygwin from a batchfile in Windows
(DELUSER.BAT) ??
How do I login to a "UNIX"-user in cygwin ??
How do I login to a "UNIX"-user in cygwin from a batchfile in Windows
(LOGIUSER.BAT) ??
How do I logout from a "UNIX"-user in cygwin ??
How do I logout from a "UNIX"-user in cygwin from a batchfile in Windows
(LOGOUSER.BAT) ??
In order to start PostgreSQL you must write the following in a cygwin shell
:
ipc-daemon &
initdb -D /usr/share/postgresql/data
postmaster -i -D /usr/share/postgresql/data &
How can this be done in a batchfile in Windows (GOPSQL.BAT) ?????
In order to stop PostgreSQL you must write the following in a cygwin shell
:
pg_ctl stop -D /usr/share/postgresql/data
How can this be done in a batchfile in Windows (STOPPSQL.BAT) ???
My E-mail-adress is : jan.christensen@riva-systems.dk
I hope to hear from you.
Best regards
Jan Christensen
--
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/