POV-Ray : Newsgroups : povray.general : Navigating the file system Server Time
25 Dec 2024 11:47:25 EST (-0500)
  Navigating the file system (Message 1 to 4 of 4)  
From: Mike Horvath
Subject: Navigating the file system
Date: 11 Mar 2016 19:01:14
Message: <56e35c4a$1@news.povray.org>
I have the following that used to work:

     #include "../walls/Walls_Textures.inc"

However, I have moved things one level deeper such that the file path 
should be

     #include ".../walls/Walls_Textures.inc"

Will this work? I keep getting an error. Thanks.


Mike


Post a reply to this message

From: dick balaska
Subject: Re: Navigating the file system
Date: 11 Mar 2016 19:10:22
Message: <56e35e6e$1@news.povray.org>
Am 2016-03-11 19:01, also sprach Mike Horvath:
> I have the following that used to work:
>
>      #include "../walls/Walls_Textures.inc"
>
> However, I have moved things one level deeper such that the file path
> should be
>
>      #include ".../walls/Walls_Textures.inc"
>

../../walls/Walls_Textures.inc

... means "hidden stuff here"

-- 
dik


Post a reply to this message

From: clipka
Subject: Re: Navigating the file system
Date: 12 Mar 2016 03:36:01
Message: <56e3d4f1$1@news.povray.org>
Am 12.03.2016 um 01:01 schrieb Mike Horvath:
> I have the following that used to work:
> 
>     #include "../walls/Walls_Textures.inc"
> 
> However, I have moved things one level deeper such that the file path
> should be
> 
>     #include ".../walls/Walls_Textures.inc"
> 
> Will this work? I keep getting an error. Thanks.

While there are some obscure pieces of software that interpret "..." in
path names as the "grandparent" directory, it is entirely non-standard.
The canonical form is "../..".


Post a reply to this message

From: Mike Horvath
Subject: Re: Navigating the file system
Date: 12 Mar 2016 18:26:33
Message: <56e4a5a9@news.povray.org>
On 3/11/2016 7:10 PM, dick balaska wrote:
> Am 2016-03-11 19:01, also sprach Mike Horvath:
>> I have the following that used to work:
>>
>>      #include "../walls/Walls_Textures.inc"
>>
>> However, I have moved things one level deeper such that the file path
>> should be
>>
>>      #include ".../walls/Walls_Textures.inc"
>>
>
> ../../walls/Walls_Textures.inc
>
> ... means "hidden stuff here"
>

That worked, thanks.


Mike


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.