# Win xp bat/cmd help (dragndrop to a batch)

**URL:** <https://forum.kirupa.com/t/win-xp-bat-cmd-help-dragndrop-to-a-batch/256671>\
**Category:** Uncategorized\
**Created:** [April 5, 2008, 2:45pm UTC](https://forum.kirupa.com/t/win-xp-bat-cmd-help-dragndrop-to-a-batch/256671 "2008-04-05T14:45:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlk](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@mlk](https://forum.kirupa.com/u/mlk)\
**Post date:** [April 5, 2008, 2:45pm UTC](https://forum.kirupa.com/t/win-xp-bat-cmd-help-dragndrop-to-a-batch/256671/1 "2008-04-05T14:45:35Z")

</div>

hi there gang

I’m trying to automate some 3d (maya) renders, and for that I have some batch files

I can call the file I need to render like so

```auto

C:\>render file.mb -options

```

(the exe being render.exe)

but could I possibly drag and drop file.mb on the batch/cmd file to execute the code ? Google doesn’t like my question’s syntax apparently.

thanks for any insight - I know it works with .exes but I’m not too sure about batch files

cheers

mlk
