The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 3 of 3

Thread: win xp bat/cmd help (dragndrop to a batch)

  1. #1

    win xp bat/cmd help (dragndrop to a batch)

    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

    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



  2. #2
    I had an example that did just that, but I can't seem to find it. It essentially allowed you to drag and drop a set of code files for compilation into an EXE.

    Bigmtnskier created something a few years ago as well, so you may want to PM him on that

  3. #3
    thanks kirupa

    my google skills were at an all time low, found my answer:

    Quote Originally Posted by


    Drag and drop does over .BAT files has stopped working?


    If you create a batch file with the following contents:
    echo file: %1
    and then drag a file over the batch file, the result should be as follows:

    file: filename.ext

    Suddenly the drag-drop has stopped working. How to fix this problem?


    Click Start, Run and type these commands:

    1. cmd /c ftype batfile="%1" %*
    2. cmd /c assoc .bat=batfile
    3. regsvr32 /i shell32.dll

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012