Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 859 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How can I create a folder? #479171
02/26/20 08:42
02/26/20 08:42
Joined: Jan 2020
Posts: 4
P
pablomfz Offline OP
Guest
pablomfz  Offline OP
Guest
P

Joined: Jan 2020
Posts: 4
Hi,

it is a very basic question but I haven't found how to do it. I can create, copy files,etc without any issue but how can I create a new folder using lite-c to store some reports?

Thank you!

Pablo.

Re: How can I create a folder? [Re: pablomfz] #479442
03/29/20 21:57
03/29/20 21:57
Joined: Mar 2019
Posts: 357
D
danatrader Offline
Senior Member
danatrader  Offline
Senior Member
D

Joined: Mar 2019
Posts: 357
You may include the standard Windows API and use the functions available there.

Here is options for doing so:

https://stackoverflow.com/questions/9235679/create-a-directory-if-it-doesnt-exist/37524002

Last edited by danatrader; 03/29/20 22:00.
Re: How can I create a folder? [Re: pablomfz] #480942
07/26/20 10:00
07/26/20 10:00
Joined: Aug 2016
Posts: 61
D
dr_panther Offline
Junior Member
dr_panther  Offline
Junior Member
D

Joined: Aug 2016
Posts: 61
You could also use the exec function to execute a OS program:

exec ("cmd /c mkdir C:\\Zorro\\test2","", 0);

Re: How can I create a folder? [Re: dr_panther] #480944
07/26/20 10:54
07/26/20 10:54
Joined: Mar 2019
Posts: 357
D
danatrader Offline
Senior Member
danatrader  Offline
Senior Member
D

Joined: Mar 2019
Posts: 357
Originally Posted by dr_panther
You could also use the exec function to execute a OS program:

exec ("cmd /c mkdir C:\\Zorro\\test2","", 0);



That's actually a really neat one.


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1