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
Catalog Item : current folder
-
RalphM
- Posts: 2090
- Joined: 27 Jan 2005 23:38
- Location: Cairns, Australia
Re: Catalog Item : current folder
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?
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%)
(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
Yep, right.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?
FAQ | XY News RSS | XY X
XYplorer Beta Club