Saturday, July 6, 2013

Folder Creation from SQR

If a folder has to be created from a SQR then we can use call system to accomplish this. Let us say if MyFolder is what needs to be created in 'C' drive.

Then follow the code snippet below:

Let $folder = 'C:\MyFolder'
Let $cmd = 'mkdir ' $folder
call system using $cmd #status

No comments:

Post a Comment

Phaniraavi@gmail.com