@echo %NM_DEBUG% off
rem Sets an environment variable via another program:
rem
rem Example:
rem     Using the command: c:> java %ARGS% os.util.NmSaveFile editor env.editor
rem     will return a set string similar to "set editor=notepad.exe".
rem
rem     This script will run that command and process the set:
rem       c:> nmset java %ARGS% os.util.NmSaveFile editor env.editor
rem
rem @version $Id: nmset.bat,v 1.3 2011/03/18 17:06:19 ntn Exp $
rem
%* > "%NM_SF%_set.bat"
call "%NM_SF%_set.bat"
del  "%NM_SF%_set.bat"
