[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: directory path for file
Pam,
One thing you could try is using the New-Report command. You can initialize a
variable $path_report to which you assign the path and the report name. You can
also use
#ifdef UNIX
Let $path_report = '/....../[report name].lis'
#else
Let $path_report = 'C:\...\/[report name].lis'
#end-if
to determine if you want to assign a unix path or a windows path to the report
name. That would allow you to always know the path to the file.
Cameron
Pamela Lantzy wrote:
> Hi,
>
> Is there a way to determine what directory a file is being written to?
> As the report is being written to a file I know the filename by the variable
> $sqr-report. The report could be written to either the working directory or
> the directory specified in the -f flag.
>
> I need to have the location of the file as well as the filename.
>
> Any suggestions?
>
> Thanks Pam