[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script for running win com prompt?

From: Lennart Borgman (gmail)
Subject: Re: Script for running win com prompt?
Date: Sun, 06 Jul 2008 18:51:59 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

weber wrote:
On Jul 4, 10:18 am, ssecorp <address@hidden> 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

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
  (w32-shell-execute "open" "explorer" (concat (fix-slash default-
directory) " ,/select," (fix-slash (buffer-file-name)))))

You can adapt for you case.


There is also code for this and similar things in EmacsW32+Emacs. The functions for this are added to the Tools menu in Emacs.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]