Reputation: 15770
In the context of The directory where your SQL scripts are. Defaults to .\
does .\
represent the directory you are currently in?
What about ..\
?
What about SET DIR=%~d0%~p0%
Upvotes: 3
Views: 4204
Reputation: 17388
does .\ represent the directory you are currently in?
Yes.
What about ..\?
The parent directory
What about
SET DIR=%~d0%~p0%
Set the environment variable DIR to the drive and path of the batch file.
Upvotes: 6