Re: system independent access to home folder and script folder?
Peter Rockett via gnuplot-info <[email protected]> Thu, 26 Feb 2026 12:07:29 +0000
| Newsgroups | gmane.comp.graphics.gnuplot.user |
|---|---|
| Message-ID | <[email protected]> |
Not totally clear of the objective here, but FWIW, you can specify a path using "./abc/efg/hij" (i.e. using a forward slash) on both Windows /and/ Unix/Linux, whereas Unix does not understand the '\' character in this context. So the forward slash is system independent. P. On 25/02/2026 18:10, Alan wrote: > Does Gnuplot offer a system independent way to > create directory names relative to the home folder (especially) > and also relative to the script folder? > > I am aware of `system`, but that depends on the OS shell. > I'm not a C programmer, but I believe the tricks to retrieve this > information in a system independent way are pretty standard. (?) > > Thank you. > > _______________________________________________ > gnuplot-info mailing list > [email protected] > Membership management via:https://lists.sourceforge.net/lists/listinfo/gnuplot-info _______________________________________________ gnuplot-info mailing list [email protected] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info