how to auto create folder named if not existing when i export report pdf to folder
S SalmanZeiad Member Local time Today, 13:53 Joined Oct 30, 2017 Messages 112 Nov 12, 2020 #1 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 Nov 12, 2020 #2 Use MkDir ? Code:Copy to clipboard mkdir "C:\temp\tt" need to make sure it does not exist first, and if several levels create each in turn.
Use MkDir ? Code:Copy to clipboard mkdir "C:\temp\tt" need to make sure it does not exist first, and if several levels create each in turn.
S SalmanZeiad Member Local time Today, 13:53 Joined Oct 30, 2017 Messages 112 Nov 12, 2020 #3 @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
@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
Gasman Enthusiastic Amateur Local time Today, 11:53 Joined Sep 21, 2011 Messages 14,351 Nov 12, 2020 #4 So either test if it exists, or handle the error if it already exists? https://www.techonthenet.com/access/functions/file/dir.php
So either test if it exists, or handle the error if it already exists? https://www.techonthenet.com/access/functions/file/dir.php