Writing a batch file that needs to crawl the file system using path relative to where it was run from.
Here is a useful cheat sheet: