How to automatically create log directory if it does not exits?

Advertisement

pmverma
Joined:
Posts:
7

How to automatically create log directory if it does not exits?

Hi,
I want to import winscp INI file to many of my client PCs.
However, in case if I provide the log directory which is not created in prior, error will occur.
Is there any way to automatically create log directory if it does not exists.

If not possible from configuration, it is better to do in source.
Could you please tell me which source file and in which function it is possible. :idea:

Thanks in advance.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: How to automatically create log directory if it does not exits?

No, it's not possible. Why don't you create the directory as a part of the configuration distribution?

Reply with quote

Advertisement

You can post new topics in this forum