SYSTEM command on Windows XP systems
Nancy Palmquist
nlp at vss3.com
Mon Feb 21 14:07:58 PST 2005
This may be or seems to be related to a security issue but I don't see
what it can be. Here is what I am trying to do.
I need to move a file from one folder to another using SYSTEM commands
in filePro.
I tried to do it directly in the SYSTEM command like this:
SYSTEM "copy /b /v /y "< folder1{"/"{filename{"."{3 <
folder2{"/"{newfilename
system "del /f "< folder1{"/"{filename{"."{3<" > nul"
The del did not work.
Now I had tried aa=remove(folder1{"/"{filename{"."{3) first which did
not work so I resorted to the system commands.
Now when they did not work, I wrote the two commands to a file with a
.bat extension. I then execute that file. The del still does not work.
If I go to the batch file and execute it without filePro, it will work
perfectly with the copy and then the delete.
Can anyone tell me what issues I am hitting that would keep it from
working correctly in filePro? I am extremely puzzled.
(I will be attempting to use the MOVE command instead. I will let you
know if that works any better. I am changing the name of the file as
part of the copy and changing the folder also, so RENAME will not work.)
--
Nancy Palmquist MOS & filePro Training Available
Virtual Software Systems Web Based Training and Consulting
PHONE: (412) 835-9417 Web site: http://www.vss3.com
More information about the Filepro-list
mailing list