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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=AXRgoD2G2hansmnx 198b1YekxWHbRmbMTqW/OFbCafq1YJIrd9SEi6TgzicTkqdSkKuvRvbuCL3xe1Ui ylU9vIILT421gQbPyrfxLJA0uK20w/5PJSiYY7hWLC1JuUp475D7oR2s/HWiCURZ MbA9+gCmskSL9v+n7JRII2nuBQY= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=EQf3SoOnDBYGdQOC2ZbeX6 sSI5A=; b=Hb+AawaRxLIXodkTtB4USzu90UC5p0yd9IaK2fQb2Cc3175Emavrdj 0UYGA0kEKXvHAl7cZ1Af/F23FpvK9AgTkl8dDsaMthqDJbh2kF6/C46WplggJCsG MZrqkZeWHJeo3Ql/oAkJ05eDar1UDlH0zoTPl76RAqUuYV3Y7Ho7k= 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=4.8 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RDNS_NONE,SPF_SOFTFAIL,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: smtpback.ht-systems.ru Date: Tue, 5 Nov 2013 02:37:48 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <2310234468.20131105023748@mtu-net.ru> To: Kenneth Wolcott , cygwin AT cygwin DOT com Subject: Re: Executing Windows commands from Cygwin with or without cmd: what are the pros and cons? In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Kenneth Wolcott! > Where can I find information regarding the pros and cons of using or > not using the cmd command to execute Windows commands from Cygwin? If you clarify, what exactly you are trying to achieve, it would be immensely easier to answer your question, and the answer will be much more useful. That aside, I see a very short list of commands that have no equivalents in Cygwin environment, and very few of them are actually sensible. Soo... which of the.. what? two commands? you plan to use? My list is as follows: 1. Internal commands affecting the system, but have no counterpart in Cygwin: ASSOC ERASE FTYPE VERIFY VOL (?) 2. Internal commands with no meaning outside interpreter, or even restricted to use in batch files, which may or may not have equivalents in Cygwin: BREAK CALL CLS CMD COLOR DIR ECHO ENDLOCAL EXIT FOR GOTO HELP IF PAUSE PROMPT REM SETLOCAL SHIFT TITLE VER 3. Internal commands, that have appropriate counterparts in Cygwin: CD CHDIR COPY DATE DEL DOSKEY MD MKDIR MOVE PATH POPD PUSHD RD REN RENAME REPLACE RMDIR SET START (y/n) TIME TYPE External utilities disguised as internal commands, which may or may not have counterparts in Cygwin: AT ATTRIB CACLS CHCP CHKDSK CHKNTFS COMP COMPACT CONVERT DISKCOMP DISKCOPY FC FIND FINDSTR FORMAT GRAFTABL LABEL MORE PRINT RECOVER SORT SUBST TREE XCOPY -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 05.11.2013, <01:26> Sorry for my terrible english... -- 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