From: Robin Rosenberg <robin.rosenberg.lists@dewire.com>
To: Alex Dickson <alex_dickson@mentor.com>
Cc: git@vger.kernel.org
Subject: Re: Cannot run cmd command lines from GIT bash
Date: Mon, 18 Aug 2014 16:43:33 +0200 (CEST) [thread overview]
Message-ID: <1193308472.195844.1408373013669.JavaMail.zimbra@dewire.com> (raw)
In-Reply-To: <E41D1E6BD9F1DF48877C833FE120496FDDE1D2FD@EU-MBX-04.mgc.mentorg.com>
----- Ursprungligt meddelande -----
> Från: "Alex Dickson" <alex_dickson@mentor.com>
> Till: git@vger.kernel.org
> Skickat: måndag, 18 aug 2014 13:07:46
> Ämne: Cannot run cmd command lines from GIT bash
>
> HI,
> I have just installed GIT from Git-1.9.4-preview20140815.exe having
> previously been using Git-1.9.2-preview20140411.exe I now
> find that some scripts I have been using for some time are no longer working
> correctly.
>
> It seems that now I cannot pass parameters through to a DOS command e.g.
> net user <username> /DOMAIN
>
> used to return full information about the user, now it just returns username
> not found, which is the behaviour
> if it is invoked without the /DOMAIN switch. I have seen similar with other
> commands, an even simpler example would be
> cmd /c dir
>
> This should run the DOS dir command, but all it does is invoke cmd.exe
> interactively
msys translates anything that looks like a unix path. try doubling all initial
slashes, i.e. cmd //c dir
You might have better luck with Windows specifie questions in one of the
msysgit forums than here.
-- robin
next prev parent reply other threads:[~2014-08-18 14:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-18 11:07 Cannot run cmd command lines from GIT bash Dickson, Alex
2014-08-18 14:43 ` Robin Rosenberg [this message]
2014-08-18 15:30 ` Dickson, Alex
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1193308472.195844.1408373013669.JavaMail.zimbra@dewire.com \
--to=robin.rosenberg.lists@dewire.com \
--cc=alex_dickson@mentor.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox