This blog contain some of my PS experience and my colleagues knowledge
Translate
Thursday, 15 November 2012
Creating a folder from SQR
There are no system commands in SQR which allows creation of a folder.
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 the Sample code to Create a folder from SQR is:
Let $folder = 'C:\MyFolder'
Let $cmd = 'mkdir ' $folder
call system using $cmd #status
No comments:
Post a Comment