From: Gustaf Erikson <gustafe+usenet@openbsd.agero.se>
Subject: Re: [solved] specifying Windows filenames
Date: Tue, 24 Jun 2003 10:03:39 +0200 [thread overview]
Message-ID: <877k7byk9w.fsf@openbsd.agero.se> (raw)
In-Reply-To: 87el1kyh73.fsf@openbsd.agero.se
Gustaf Erikson <gustafe+usenet@openbsd.agero.se> writes:
> Hi!
>
> 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".
>
> "H:\bin\command.pl" doesn't work at all.
>
> Any tips? Do I need to specify the Cygwin bash shell first?
>
> tia,
>
> /g.
Many thanks to all who've helped with this.
To summarize: I've changed the call from "H:/bin/command.pl" to
"c:/cygwin/bin/perl.exe H:/bin/command.pl". This works fine.
Using the Windows file association to associate *.pl files with the
perl.exe executable sorta works too, but I don't get any output from a
module I use in the script. I suspect this is because the module path
isn't set correctly. I don't care about using perl scripts directly by
double-clicking, so I won't pursue this further.
/g.
--
Gustaf Erikson <<< mobile: 073-338 76 18 >>> http://stureby.net/gustaf/
Ash nazg durbatulûk, ash nazg gimbatul, ash nazg thrakatulûk
agh burzum-ishi krimpatul.
prev parent reply other threads:[~2003-06-24 8:03 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
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 ` Gustaf Erikson [this message]
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=877k7byk9w.fsf@openbsd.agero.se \
--to=gustafe+usenet@openbsd.agero.se \
/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).