Page 1 of 1
Catalog Item : current folder
Posted: 27 Jan 2011 17:44
by carmenm
Hi,
I want to have a .bat in my catalog. But what i would like even more is for that .bat to use the current directory as working directory. Is that possible?
EDIT: one question then, how can i get the current folder in a script? i didnt find it in get()
THanks
Re: Catalog Item : current folder
Posted: 27 Jan 2011 22:25
by RalphM
Check out XY native variables in help (go to "Index", then "Variable <curpath> etc."), you don't need get() for such basic information.
BTW I have to admit, that's the only way to find that list of XY native variables in the help!
@Don: Wouldn't this deserve its own Topic in the Advanced section?
Re: Catalog Item : current folder
Posted: 28 Jan 2011 10:04
by admin
RalphM wrote:Check out XY native variables in help (go to "Index", then "Variable <curpath> etc."), you don't need get() for such basic information.
BTW I have to admit, that's the only way to find that list of XY native variables in the help!
@Don: Wouldn't this deserve its own Topic in the Advanced section?
Yep, right.
Re: Catalog Item : current folder
Posted: 31 Jan 2011 18:29
by carmenm
thanks a lot. Got it.
But not easy to find
