Solved how to auto create folder named if not existing (1 Viewer)

SalmanZeiad

Member
Local time
Today, 13:53
Joined
Oct 30, 2017
Messages
112
how to auto create folder named if not existing when i export report pdf to folder
 

Gasman

Enthusiastic Amateur
Local time
Today, 11:53
Joined
Sep 21, 2011
Messages
14,351
Use MkDir ?
Code:
mkdir "C:\temp\tt"
need to make sure it does not exist first, and if several levels create each in turn.
 

SalmanZeiad

Member
Local time
Today, 13:53
Joined
Oct 30, 2017
Messages
112
@Gasman // I am sending to a static directory path, but I want if it does not exist, create a directory to place the file in
 

Users who are viewing this thread

Top Bottom