[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] Can't move all files from folder
- Subject: RE: [sqr-users] Can't move all files from folder
- From: "Bob Stone" <bstone@fastenal.com>
- Date: Mon, 13 Nov 2006 13:09:21 -0600
- Delivery-date: Mon, 13 Nov 2006 14:12:03 -0500
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
- Thread-index: AccHVRgVpFZbL5BuRQCoUSaa7gEh1AAAX23Q
- Thread-topic: [sqr-users] Can't move all files from folder
are they files that your program created? And if so, are they closed?
You can't move a file you're still writing to because the system shows
SQRUSER as having control of a open file.
Also note that you can't move the log file or the .lis file
automatically created, because those aren't closed until the program
finishes. Maybe there's actually a way to do that, but if I've had to
do something where I want to delete the file (or move it, in your case)
then I always open a file for writing and close it before I have to do
anything with it.
What system is this on?
-----Original Message-----
From: sqr-users-bounces+bstone=fastenal.com@sqrug.org
[mailto:sqr-users-bounces+bstone=fastenal.com@sqrug.org] On Behalf Of
Karen Leary
Sent: Monday, November 13, 2006 12:54 PM
To: sqr-users@sqrug.org
Subject: [sqr-users] Can't move all files from folder
I am trying to move some files from one folder to another when finished
processing.
I am using the following syntax which only moves one of the files
instead of all of them - any ideas why???
Let $move = getenv('COMSPEC') || ' /C move ' || $ArchivePath || '*.* '
|| $ArchivePath || 'archive\'
call system using $move #status wait
Each time I run the program it will move one file. If I run the same
command from a dos prompt it does move all the files.
Thank you,
Karen
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users