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! :)
B
5
S
3
Posts: 198
Reputation: 1,073

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
45
S
12
G
3
Posts: 1,209
Reputation: 7,537

Post » Sun Aug 09, 2015 8:39 pm

Thanks really much!
It works now.
B
5
S
3
Posts: 198
Reputation: 1,073


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 17 guests