Greetings, OwN-3m-All!
> Thanks guys. That was it. I decided to remove the trailing slash for
> my purposes.
> set WD=%~dp0
> set WD=%WD:~0,-1%
> It's working now!
Alternatively, you could translate backslashes to regular slashes. Should work
too.
SETLOCAL ENABLEEXTENSIONS
SET CWD=%CD:\=/%
Thanks guys. That was it. I decided to remove the trailing slash for
my purposes.
set WD=%~dp0
set WD=%WD:~0,-1%
It's working now!
On Mon, Nov 14, 2016 at 12:23 PM, Brian Inglis
wrote:
> On 2016-11-14 07:43, Gerrit Haase wrote:
>>
>> 2016-11-13 23:19 GMT+01:00 OwN-3m-All wrote:
>>>
>>> I'd li
On 2016-11-14 07:43, Gerrit Haase wrote:
2016-11-13 23:19 GMT+01:00 OwN-3m-All wrote:
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.
You'll get a warning from Setup: it is strongly recommended, to use a
root pat
> Try adding a dot:
>
> set WD=%~dp0
> echo "%WD%."
> "setup-x86_64.exe" --root "%WD%." --local-package-dir "%WD%."
> pause
or
set WD=%~dp0.
...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.h
2016-11-13 23:19 GMT+01:00 OwN-3m-All wrote:
> cd "C:\test\with space"
> set WD=%~dp0
> echo "%WD%cygTemp"
> "setup-x86_64.exe" --root "%WD%" --local-package-dir "%WD%cygTemp"
> pause
>
The problem is this trailing backslash in the directory name.
D:\temp\Neuer Ordner\cygwinpkg>setup_script.bat
On Wed, Dec 28, 2005 at 04:23:33PM -0800, Bruce Dobrin wrote:
> Hmm, I just tried it and it does appear to sort of work, but it only
> installs the "default" and I don't see any way to tell it to do
> otherwise.
This has been discussed many times. In short, set up a dummy package
in setup.iniw
Larry Hall (Cygwin) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 28, 2005 4:18 PM
To: Bruce Dobrin
Cc: cygwin@cygwin.com
Subject: Re: Cygwin Setup Command Line
On 12/28/2005, Bruce Dobrin wrote:
> Is there anything new in automating Cygwin setup since the short
> command line list at:
> h
On 12/28/2005, Bruce Dobrin wrote:
Is there anything new in automating Cygwin setup since the short command
line list at:
http://sources.redhat.com/ml/cygwin-apps/2003-03/msg00526.html (Referenced
in the Cygwin-apps Homepage)?
I think that still about covers it. You can check the source if
8 matches
Mail list logo