Csound Csound-dev Csound-tekno Search About

[Csnd] init a empty txt file wih a sepcific name

Date2024-10-09 11:31
FromPhilipp Neumann <0000119f78f3a4f9-dmarc-request@LISTSERV.HEANET.IE>
Subject[Csnd] init a empty txt file wih a sepcific name
Hello everybody.

I’m working on a project, where i want to check if a file with a specific name is existing in the same dir as my .csd,
if not, i want to create this file with no content.

Can i do something like this?

Greetings Philipp
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2024-10-09 12:06
FromTarmo Johannes
SubjectRe: [Csnd] init a empty txt file wih a sepcific name

Hi!

Perhaps filevalid? https://csound.com/manual/filevalid.html

Tarmo


K, 9. oktoober 2024 13:31 Philipp Neumann <0000119f78f3a4f9-dmarc-request@listserv.heanet.ie> kirjutas:
Hello everybody.

I’m working on a project, where i want to check if a file with a specific name is existing in the same dir as my .csd,
if not, i want to create this file with no content.

Can i do something like this?

Greetings Philipp
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here