Greg Stigers
2009-10-19 17:06:28 UTC
I'm using %~dP0 to identify the path from which a batch file is run. I need
to write a log, up two levels, and then down two folders. And I need to let
the user know exactly where that is.
I can code %~dP0..\..\dir\subdir, but don't expect the user to understand
what that means. I've toyed with a couple of ideas, all kludgy and obtuse.
Is there a way way to do this, that isn't ugly?
______
Greg Stigers, MCSE
remember to vote for the answers you like
to write a log, up two levels, and then down two folders. And I need to let
the user know exactly where that is.
I can code %~dP0..\..\dir\subdir, but don't expect the user to understand
what that means. I've toyed with a couple of ideas, all kludgy and obtuse.
Is there a way way to do this, that isn't ugly?
______
Greg Stigers, MCSE
remember to vote for the answers you like