unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: jasonr (Jason Rumney) @  f2s.com
Subject: Re: specifying Windows filenames
Date: 23 Jun 2003 20:50:13 +0100	[thread overview]
Message-ID: <uisqwmv4a.fsf@jasonrumney.net> (raw)
In-Reply-To: mailman.8475.1056385357.21513.help-gnu-emacs@gnu.org

"Eli Zaretskii" <eliz@elta.co.il> writes:

> > Newsgroups: gnu.emacs.help
> > From: Gustaf Erikson <gustafe+usenet@openbsd.agero.se>
> > Date: Mon, 23 Jun 2003 16:57:52 +0200
> > 
> > I'm using NTEmacs 20.7 on WindowsXP. I'm trying to call a perl script
> > in the "H:\bin\" directory with shell-command-on-region. Perl is from
> > the Cygwin distribution.
> > 
> > I've tried specifying the command  in different ways: 
> > 
> > "H:/bin/command.pl" throws up the script in Notepad(!) So does
> > "H:\\bin\\command.pl".
> 
> I think this fails because Windows doesn't know about the "#!" magic
> on the first line of command.pl.

Right. You could get around this by finding where (under Folder
Options, File Types in the Explorer Tools menu) .pl files have been
associated with notepad.exe, and change it to perl.exe. Then they
should work as above, with the added bonus that they'll work when
double-clicked from explorer too.

  parent reply	other threads:[~2003-06-23 19:50 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-23 14:57 specifying Windows filenames Gustaf Erikson
2003-06-23 16:18 ` Eli Zaretskii
     [not found] ` <mailman.8475.1056385357.21513.help-gnu-emacs@gnu.org>
2003-06-23 19:50   ` Jason Rumney [this message]
2003-06-24  7:07   ` Harald Joerg
2003-06-24  7:11     ` Jason Rumney
2003-06-24  7:47       ` Harald Joerg
2003-06-24 14:52         ` Eli Zaretskii
2003-06-24 16:24         ` Jason Rumney
2003-06-25  7:55           ` Harald Joerg
2003-06-24  8:03 ` [solved] " Gustaf Erikson

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=uisqwmv4a.fsf@jasonrumney.net \
    --to=jasonr@f2s.com \
    /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).