* Script for running win com prompt?
@ 2008-07-04 13:18 ssecorp
2008-07-04 14:27 ` weber
0 siblings, 1 reply; 3+ messages in thread
From: ssecorp @ 2008-07-04 13:18 UTC (permalink / raw)
To: help-gnu-emacs
i have a long command prompt script i dont want to enter manually.
how can i write a script that runs:
java -cp c:\clojure_20080612\clojure.jar clojure.lang.Script
CelsiusConverter.clj
froma certain directory and start that within emacs?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Script for running win com prompt?
2008-07-04 13:18 Script for running win com prompt? ssecorp
@ 2008-07-04 14:27 ` weber
2008-07-06 16:51 ` Lennart Borgman (gmail)
0 siblings, 1 reply; 3+ messages in thread
From: weber @ 2008-07-04 14:27 UTC (permalink / raw)
To: help-gnu-emacs
On Jul 4, 10:18 am, ssecorp <circularf...@gmail.com> wrote:
> i have a long command prompt script i dont want to enter manually.
>
> how can i write a script that runs:
> java -cp c:\clojure_20080612\clojure.jar clojure.lang.Script
> CelsiusConverter.clj
>
> froma certain directory and start that within emacs?
I have something like this to open explorer selecting the current file
(defun open-this-folder ()
"Opens current buffer folder on explorer, with current file
selected"
(interactive)
(w32-shell-execute "open" "explorer" (concat (fix-slash default-
directory) " ,/select," (fix-slash (buffer-file-name)))))
You can adapt for you case.
HTH
weber
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Script for running win com prompt?
2008-07-04 14:27 ` weber
@ 2008-07-06 16:51 ` Lennart Borgman (gmail)
0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman (gmail) @ 2008-07-06 16:51 UTC (permalink / raw)
To: weber; +Cc: help-gnu-emacs
weber wrote:
> On Jul 4, 10:18 am, ssecorp <circularf...@gmail.com> wrote:
>> i have a long command prompt script i dont want to enter manually.
>>
>> how can i write a script that runs:
>> java -cp c:\clojure_20080612\clojure.jar clojure.lang.Script
>> CelsiusConverter.clj
>>
>> froma certain directory and start that within emacs?
>
> I have something like this to open explorer selecting the current file
>
> (defun open-this-folder ()
> "Opens current buffer folder on explorer, with current file
> selected"
> (interactive)
> (w32-shell-execute "open" "explorer" (concat (fix-slash default-
> directory) " ,/select," (fix-slash (buffer-file-name)))))
>
> You can adapt for you case.
>
> HTH
> weber
There is also code for this and similar things in EmacsW32+Emacs. The
functions for this are added to the Tools menu in Emacs.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-06 16:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-04 13:18 Script for running win com prompt? ssecorp
2008-07-04 14:27 ` weber
2008-07-06 16:51 ` Lennart Borgman (gmail)
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).