Code: Select all
e:\tmp>
e:\tmp>cd
E:\tmp
e:\tmp>type test.bat
@echo off
echo filespec: %~dp0%~nx0
e:\tmp>
e:\tmp>test.bat
filespec: E:\tmp\test.bat
e:\tmp>
I have a number of workarounds... but I'd like to have a 'configuration' file that I move around with my .bas file.
Thanks.