Search found 1 match

by cmcconn
18 Jun 2008 16:19
Forum: DOS Batch Forum
Topic: How can I get the path to the batch file being run?
Replies: 1
Views: 6117

How can I get the path to the batch file being run?

I have a batch file in my %PATH%. When I run it I need to get it's path so I can open a file that lives in the same folder. I was hoping some sort of built-in variable exists but can't find anything like that. Any ideas would be appreciated.

- Chris