X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=He3VgfB0JPJN8LMe Xl7mxXHsGk+X28uAYf/sT4FN/qs84elKk/ejCeImmSgEgcbHaElS2JRugQbpX8/k bl1lieNFLNXeirswxdj0dxbRdgvjE1lKDHm6Aejl4TIX3CyUhF8ysE2PKIbnQN1F aGmVlCB5v+fn/IqvgOktNq3MQk8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:reply-to:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=default; bh=ldkFjCRdMDSmoWPvcWPR6B WP470=; b=rcR0H9ODYRMfE/aLWxuGrkGU29xY1VT6HXoQmMpjK7RiErDVHDDMKV zblQawsWNYiQSYap+v8nz2St1OPA7dHxLhCLwQrJVDSHcUjHLNFjr41bM1sgbzdN /AnU8sxIRotrqwSFJOXjIEJCdmTz11iXhpzfhy8ZIQZ4wEsWD5jI0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.6 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: vms173025pub.verizon.net Message-id: <52FD11A3.2090002@cygwin.com> Date: Thu, 13 Feb 2014 13:40:35 -0500 From: "Larry Hall (Cygwin)" Reply-to: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Testers needed: New passwd/group handling in Cygwin References: <20140213143849 DOT GH2246 AT calimero DOT vinschen DOT de> <952874943 DOT 20140213200700 AT mtu-net DOT ru> In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit On 2/13/2014 1:33 PM, Lord Laraby wrote: > Subject: Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header > declaration changes ?) > > This would be a nice mechanism for typical windows home systems except for > the format of the cygwin tag that goes in the comment field. Home users > that utilize 'net user USERNAME "/comment:yadda yadda"' command cannot use > equal signs on the command line, and the entire string has to be quoted to > prevent angle brackets from messing with redirection. Equal signs are > stripped by CMD.exe and the nexted quotes are stripped as well. > > Example: I entered the following at elevated cmd prompt, > > C:\WINDOWS\system32>net user TestUser "/comment: then="okay>" > The command completed successfullly. > > C:\WINDOWS\system32>net user TestUser > User name TestUser > Full name Test User > Comment > ... > The command completed successfullly. > Corinna's email with a description of this entire mechanism recommends this syntax: > CMD example: > > net use corinna /comment:"" Does that work for you? -- Larry _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple