How do I create a Filepath (Folders in Folders)?

Get help using Construct 2

Post » Sun Aug 09, 2015 7:10 pm

Hi,
I want to create a Filepath for my program and it should look like this (This is what I tried): NWjs.AppFolder&"Data"&"Test". But this only creates one Folder "DataTest".
So i want to create a Folder in the AppFolder that is named Data and in that Folder a Folder named Test :D . I already read the instructions from Scirra but that only shows how to create one Folder.
Thanks for your help! :)
Image
B
5
S
3
Posts: 193
Reputation: 1,063

Post » Sun Aug 09, 2015 7:49 pm

aquadijoib wrote:Hi,
I want to create a Filepath for my program and it should look like this (This is what I tried): NWjs.AppFolder&"Data"&"Test". But this only creates one Folder "DataTest".
So i want to create a Folder in the AppFolder that is named Data and in that Folder a Folder named Test :D . I already read the instructions from Scirra but that only shows how to create one Folder.
Thanks for your help! :)

You have to make it like so:

NWjs.AppFolder & "\Data\"
NWjs.AppFolder &"\Data\Test\"
B
44
S
11
G
2
Posts: 1,182
Reputation: 6,848

Post » Sun Aug 09, 2015 8:39 pm

Thanks really much!
It works now.
Image
B
5
S
3
Posts: 193
Reputation: 1,063


Return to How do I....?

Who is online

Users browsing this forum: zenox98 and 16 guests