From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: non-interactive shell Date: Sun, 23 Mar 2008 06:20:20 +0200 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1206246091 3717 80.91.229.12 (23 Mar 2008 04:21:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Mar 2008 04:21:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 23 05:22:01 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JdHiZ-0000sV-F9 for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Mar 2008 05:21:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JdHhy-0002Fj-Gm for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Mar 2008 00:21:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JdHhj-0002FO-Cr for help-gnu-emacs@gnu.org; Sun, 23 Mar 2008 00:21:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JdHhi-0002F6-Pa for help-gnu-emacs@gnu.org; Sun, 23 Mar 2008 00:21:07 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JdHhi-0002F3-IK for help-gnu-emacs@gnu.org; Sun, 23 Mar 2008 00:21:06 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JdHhi-0004YR-EB for help-gnu-emacs@gnu.org; Sun, 23 Mar 2008 00:21:06 -0400 Original-Received: from HOME-C4E4A596F7 ([84.228.236.188]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0JY6006VO20MGXF2@i_mtaout4.012.net.il> for help-gnu-emacs@gnu.org; Sun, 23 Mar 2008 06:33:59 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-kernel: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:52646 Archived-At: > Date: Sat, 22 Mar 2008 19:27:04 -0600 > From: "B. T. Raven" > > Apparently it's not possible to make a new directory with: > > (shell-command (concat "md " path)) > > where path is some string like > > "\\a\\b\\c" It works for me. What happened on your machine, and which version of Emacs did you use? > Is it possible at all to make a directory under the default-directory > with elisp and using a variable rather than a literal string. Of course, it is. But I'd suggest to use Emacs primitives instead of an external command: (make-directory path t)