Jump to content

mplay from a windows cmd prompt?


thekenny

Recommended Posts

Hey,

Anyone try to use mplay.exe from the cmd prompt in windows? I've tried it and from the command console you get in windows.. and I've still can't get it to work. I know on windows it is the executable that needs to be able to evaluate the command line information not the shell interp'ing them (like you get in linux)

From the command line tools prompt:

"cd" to the location where you have series of directories "A","B","C" and the each have 100 frames in them. I would like to be able to go to the root directory and do something like this:

mplay *\*.0012.exr

anyone able to shed light on this?

I can specify this and it works --> mplay A\*0012.exr

So it looks like the leading wildcard is borking.

Thoughts?

-k

Link to comment
Share on other sites

thanks for the sympathy....

I tried a hybrid cygwin I have access to, but no dice.

I'll try the vanilla one next, and the awesome sounding "power shell".

It's not so much the install of cygwin, but the configuration of it... I'll have to look on the odforce wiki..if memory serves me correct I think there might be a page on it there.

Thanks.

-k

Link to comment
Share on other sites

thanks for the sympathy....

I tried a hybrid cygwin I have access to, but no dice.

I'll try the vanilla one next, and the awesome sounding "power shell".

It's not so much the install of cygwin, but the configuration of it... I'll have to look on the odforce wiki..if memory serves me correct I think there might be a page on it there.

Thanks.

-k

This works for me with cygwin, which is fairly default I think. I'm pretty sure it's picking up %PATH% from my standard windows location, but I know you can add your own in C:/cygwin/etc/profile or the Cygwin.bat file itself can be edited. Mine had this in it, which I can't remember doing so it must have been one of many things I attempted.

@echo off

set IS_UNIX=
set DEV_ROOT=C:/myuserdata/data_root/shaders
set JAVA_HOME=C:/Progra~1/Java/jre1.6.0_05

C:
chdir C:\cygwin\bin

bash --login -i

Also, you should be able to go into $HFS/bin and execute csh.exe. I just launched it and navigated to a dir with multiple folders containing sequences and mplay A/*.pic works.

-Alan

Link to comment
Share on other sites

ugg,

nadda in the power shell.

to the cygwin...(sigh)

it has the word "power" in it so it must be good!

spoke too soon..

seems they have a csh & bash on my cmd prompt path.. so when I type either one.. i'm in a shell.

NOW.. mplay works like I remember...

oh the joy...

now I get to totally geek out and customize it...

-k

Edited by thekenny
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...