fwiw, when you modify it a bit this way

path="C:/Program Files/Nuke7.0v9"
@set /p B=[START]
@set /p C=[END]
nuke7.0 -x -i %1 %B%,%C%,1

you'll be able to just drag-n-drop your .nk file onto the .bat icon. or you can add the .bat to your 'open with...' context menu. %1 takes the argument passed to the bat file. in case of drag'n'drop or 'open with' it's the path to
your Nuke script.
the @ in front of the commands suppresses the output of the command itself in the dos box.


Anselm Lier wrote:
Found this script on the web (by soumyadip_c <http://www.creativecrash.com/users/soumyadip_c/forums>, http://www.creativecrash.com/forums/nuke/topics/batch-render)
, and it is really nice and looks like this:

In a *.bat file save the following:
path="C:/Program files/Nuke7.0v9"
set /p A=[FILENAME]
set /p B=[START]
set /p C=[END]
#set /p D=[SPLIT]
nuke7.0 -x -i %A% %B%,%C%,1

after starting the .bat you can drag&drop the nuke-file into it set start and end frame and go!


--------------------------------------------

Anselm Lier
Haslerspitzstr. 5
81673 München

Phone: +49 (0) 151 165 178 38
Mail: [email protected] <mailto:[email protected]>

El 22/11/2013, a las 8:52, Jimmy Christensen <[email protected] <mailto:[email protected]>> escribió:

Where did you change the path? In a script? Or did you rename the folder?

Hilsen
Jimmy Christensen
Developer
Ghost A/S

On 22/11/13 14:05, Anselm Lier wrote:
Thanks for the hint. But no, not a custom init.tcl. And when starting
normal with UI everything is ok. But starting from the .bat-file I get
the error. Only flags are -x and -i. On Win 7 Pro.
I'm on the spanisch version though. Could it be that (like on mac) there
are other path names working under the hood?
Oh yes! Just changed the path to C:/Program files/... and now ist works.
So there really are the *english path names* working under the hood.

Cheers,

Anselm

--------------------------------------------

Anselm Lier
Haslerspitzstr. 5
81673 München

Phone:+49 (0) 151 165 178 38
Mail:[email protected] <http://anselmlier.de/> <mailto:[email protected]>

El 21/11/2013, a las 18:09, Diogo Girondi <[email protected] <mailto:[email protected]>
<mailto:[email protected]>> escribió:

Is it a custom init? If so I recommend you never mess with the ones
from the install dir. Use the NUKE_PATH or .nuke folder since they
will cascade, avoid problems and you won't loose anything once you
update Nuke.

Cheers,
Diogo


On Thu, Nov 21, 2013 at 3:05 PM, Anselm Lier <[email protected] <mailto:[email protected]>
<mailto:[email protected]>> wrote:

   From the install path In my case C:/Archivos de
   Programa/Nuke7.0v9/plugins


   Should I copy it to the NUKE_PATH as well? Although it is looking
   for it in the install path.

   --------------------------------------------

   Anselm Lier
   Haslerspitzstr. 5
   81673 München

   Phone:+49 (0) 151 165 178 38
Mail:[email protected] <http://anselmlier.de/> <mailto:[email protected]>

El 21/11/2013, a las 11:51, Diogo Girondi <[email protected] <mailto:[email protected]>
   <mailto:[email protected]>> escribió:

   From where Nuke is picking this init.tcl file, from the install,
   NUKE_PATH or .nuke?


   -diogo


On Thu, Nov 21, 2013 at 2:10 PM, Anselm Lier <[email protected] <mailto:[email protected]>
   <mailto:[email protected]>> wrote:

       Hi Guys,


       when I try to render via a .bat-file I get the error that
       there is no such file or directory as the
       Nuke7.0v9/plugins/init.tcl.
       But I checked and it is there.

       Am I doing something wrong?

       Thanks for any help.

       Regards,

       Anselm

       --------------------------------------------

       Anselm Lier
       Haslerspitzstr. 5
       81673 München

       Phone:+49 (0) 151 165 178 38
Mail:[email protected] <http://anselmlier.de/> <mailto:[email protected]>


   _______________________________________________
   Nuke-users mailing list
[email protected] <mailto:[email protected]>
   <mailto:[email protected]>,
   http://forums.thefoundry.co.uk/
   http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


_______________________________________________
Nuke-users mailing list
[email protected] <mailto:[email protected]>
<mailto:[email protected]>,
http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



_______________________________________________
Nuke-users mailing list
[email protected] <mailto:[email protected]>, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

_______________________________________________
Nuke-users mailing list
[email protected] <mailto:[email protected]>, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

------------------------------------------------------------------------

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

--
Holger Hummel  -  [email protected]

Celluloid Visual Effects GmbH & Co. KG
Paul-Lincke-Ufer 39/40, 10999 Berlin
phone +49 (0)30 / 54 735 220  -  [email protected]

_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to