Catalog Item : current folder

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
carmenm

Catalog Item : current folder

Post 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

RalphM
Posts: 2090
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Catalog Item : current folder

Post 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?
Ralph :)
(OS: W11 25H2 Home x64 - XY: Current x64 beta - Office 2024 64-bit - Display: 1920x1080 @ 125%)

admin
Site Admin
Posts: 66361
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Catalog Item : current folder

Post 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.

carmenm

Re: Catalog Item : current folder

Post by carmenm »

thanks a lot. Got it.

But not easy to find ;)

Post Reply