November 14, 2008 at 1:52 pm
So I have a .sql file that runs version changes on a db i have. This file is bundled into a folder and then given to many users. the users may have this folder in various locations on there hard drive. In my script I want to know where it is being executed from.
Example
C:\
or C:\WorkingDirectory\
or.....
I have a solution but I would like to do this all through TSQL. This is run from a .exe
Thanks
November 14, 2008 at 4:49 pm
you have access to that informatino in your exe
in vb6 it's app.path returns the folder the exe is running from
in .NET it's Application.StartUpPath;
it depends on what language you wrote your exe, but it's available.
Lowell
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply