From: Jasen <xx@yy.zz>
Subject: find a file and put it in a window
Date: Sun, 25 Jul 2004 19:28:26 -0700 [thread overview]
Message-ID: <G%ZMc.15275$%p4.14814@okepread04> (raw)
Hi all,
Would someone please advise me how can I resolve this problem:
I would like to find a file in a directory through a shell command:
;; Get the newest version of file
(setq file (string (shell command "ls -tc
C:\\dir1\\dir2\\dir3/file*.txt | head -1")))
;; Put the file is a windows
(find-file-other-window file)
The problem is that either Emacs or Windows can't interpret the full
file name along with directory path correctly and I don't know how to
fix it?
Thanks,
Austin
next reply other threads:[~2004-07-26 2:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-26 2:28 Jasen [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-26 2:28 find a file and put it in a window Jasen
2004-07-26 4:57 ` Eli Zaretskii
[not found] ` <mailman.1472.1090814571.1960.help-gnu-emacs@gnu.org>
2004-07-26 5:34 ` Jasen
2004-07-26 18:26 ` Eli Zaretskii
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='G%ZMc.15275$%p4.14814@okepread04' \
--to=xx@yy.zz \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).