delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/23/04:47:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <519590683F85D311A7C200105A4CFA330387EB@mailserver.riva-systems.dk>
From: JC Jan Christensen <jan DOT christensen AT riva-systems DOT dk>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Calling cygwin-commands from a batchfile in Windows !!
Date: Thu, 23 May 2002 10:45:17 +0200
MIME-Version: 1.0

 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 DOT christensen AT riva-systems DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019