Search found 1 match
- 24 Aug 2011 15:15
- Forum: DOS Batch Forum
- Topic: Script directory url
- Replies: 4
- Views: 4964
Script directory url
Hi, I need to get url of directory where is my batch script. Example: echo %0 displays: C:\Users\kkuba\Desktop\test.bat but I need: C:\Users\kkuba\Desktop\ so here is my question - how can I do that? %dir% is not that what I want. If I drag and drop any file to my batch script, itself value is url t...