[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: rename function problems on NT
You can use an #ifdef in your code to make 2 different renames for each
platform. I assume your using the call system commdn to do this. Try and
do your actual command that you are using on Unix on NT using Command Prompt
and look at it that way to find the problem.
#ifdef UNIX
! rename for Unix
mv file1.dat file2.dat
#else
#ifdef NT
! rename for Unix
copy file1.dat file2.dat
#end-if
#end-if
-----Original Message-----
From: Discussion of SQR, Brio Technology's database reporting language
[mailto:SQR-USERS@list.iex.net]On Behalf Of Pamela Lantzy
Sent: Wednesday, April 18, 2001 7:45 AM
To: SQR-USERS@list.iex.net
Subject: rename function problems on NT
Hi,
I have a SQR which I rename a file after I am done processing it. When I
run the SQR in unix the rename function works great, but when I run the same
SQR on the NT machine, it does not work.
If I go to the machine that the SQR is running on and open windows explorer
and rename the file I do not have problems.
What else can I try or is there a problem using the rename function on NT?
Thanks,
Pam