Place output in current folder?

Discussion created by MLF on Jul 12, 2011
Latest reply on Jul 26, 2011 by dkwiens
Hello! I have a script tool whose input is an mxd w/data driven pages and the output is a multipage pdf.  How can make the script print the output to the same folder as the mxd input, and also name the pdf according to the mxd's name?  Thank you!