Home Technical Talk
The BRAWL² Tournament Challenge has been announced!

It starts May 12, and ends Sept 12. Let's see what you got!

https://polycount.com/discussion/237047/the-brawl²-tournament

Maya: file -q -sn without file extension?

polycounter lvl 16
Offline / Send Message
Toast polycounter lvl 16
How to query the scene name wihtout the file extension?

I've tried various forms of tokenize but can't manage this :(

Edit: Solved!

$name = `file -q -shn -sn`;
$name2 = `basenameEx($name)`;

HOWEVER.

Does anyone know how to query the current directory that the file is in?

Replies

Sign In or Register to comment.