Anonymous
http://www.markhneedham.com/blog/2008/08/12/getting-the-current-working-directory-from-dos-or-batch-file/
Work your system no matter how imperfect, and modify it as you go.