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:mime-version:from:date:message-id:subject:to :content-type; q=dns; s=default; b=qdXmi3x9PZH/intVGgNojKNMQWjL5 KCAIn13HFsCOlczPNqswoh4BNo1PokY2K0w56mAn946q6e4ylrZsDm4yDjVc+WBF UXf5eZ6OyA3bbuoGi+ZbQP1uWw2pwtzD322dQqAm8bg2YtYvDhQBNMKfJwdxrrnD TW11Udp3GGlEFI= 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:mime-version:from:date:message-id:subject:to :content-type; s=default; bh=RnHwu5Un1ywPVVz9AlOX9Mu/0LA=; b=gip KECT8k8j8WwGAF8g0zi9ibQTvfP2ErW+hXZztUwapDJlYr97Adxp1pdijQElBstI mdQGXmsY2jTt/IW6vy5dhg81y2K1lk7UbvTyDWEH+COPlxGpLt+gAe8GNJyM64P1 Pmx+gFkw8lZiNPKEEUaZqpVhJ0SAQ0w+JcZ8xGDY= 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.3 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Space, (unknown), Command-line, H*r:ip*10.194.75.71 X-HELO: mail-wm0-f52.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ilGsIiAH+kaBrAZ8+24lLCsuAbtn2cQdnqfZlqh/h1c=; b=Y+fvpzcIicuPkkGik5AHslTLLPUWVWaHLWHyd5724a7/Z3zjVZPjn/iUB3zGbV26XY 5Qb0rgSmaU7WK/sTOwV68wlBN+vS0EaFoAMMPKK0UPs/M78Xwp3pNBuRQWbAr2a3/BvI sxPjN5LWNfB0Cho0uKgvghMeeMR2nDWB0bjdvaWX1gxryzc+GZGBVSQ0N4PymDEGYCCx M3ZCgS7i+2ecUIEDoVQDZhBewauinm0PkEcSIOynj3rHpU776zFO8Y4fHMc0B2JcGsM8 WPwUDoDW5nNnh7We0zT1I6u7EI0aZt4hyikl388eQBsnEolLdXvoifOsjkxXf1FKtw8A rw1A== X-Gm-Message-State: ABUngveWVTZoeyM/qX0gqDvBIfVJz8YzjgVpxmlWMPkvB/jgcqXVE9AGa9K8atZNz6LzJtthAXYUz040q0/bZw== X-Received: by 10.28.35.205 with SMTP id j196mr7979715wmj.62.1479075556693; Sun, 13 Nov 2016 14:19:16 -0800 (PST) MIME-Version: 1.0 From: OwN-3m-All Date: Sun, 13 Nov 2016 15:19:16 -0700 Message-ID: Subject: Cygwin Setup Command-line Arguments - Paths with a Space Incorrectly Parsed To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Is there a way to pass in paths that contain a space in the --root and --local-package-dir Cygwin command-line arguments? Everything I've tried doesn't work. Here's a sample batch script to reproduce the issue (create a directory with a space in it, copy Cygwin setup exe, and then save batch script into this directory): cd "C:\test\with space" set WD=%~dp0 echo "%WD%cygTemp" "setup-x86_64.exe" --root "%WD%" --local-package-dir "%WD%cygTemp" pause If I double quote the path as expected for path variables that may contain a space in batch, Cygwin incorrectly parses the above command-line arguments. I know it is NOT recommended to install Cygwin with a path that contains spaces, but according to the documentation, "Cygwin does support spaces in filenames and paths." But, it doesn't appear to when passing in parameters to the setup? I'd like to automate Cygwin installation, but I don't want to rule out the possibility that a path with a space will not be used. Please let me know if this is possible. -- 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