You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

How to create a new folder form SQR

1 reply [Last post]
Guest's picture
Guest

Hi all,

I have one requirement is that ,i have create a new folde in a specified location from SQR then i want to send the report output to that folder.

To send report out put i will us new-report command ,but how to create a new folder from the SQR?
Does it possible in SQR I don't know
can any one help me on this

Thanks in advance

Ramya

Ashar's picture
User offline. Last seen 4 weeks 1 day ago. Offline
Joined: 03/26/2008
Posts: 208
Re: How to create a new folder form SQR

You can use something like this..

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

/Ashar

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
The question below is to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.