SYSTEM command on Windows XP systems

Nancy Palmquist nlp at vss3.com
Mon Feb 21 14:46:48 PST 2005


Steve Wiltsie wrote:

> Nancy,
> 
> Take a look at the 'start' command.  Do it from the XP command prompt.  You
> can get help on it with:
> 
> start /?
> 
> I have used the   start /separate   command several times with good success.
> Maybe not doing exactly what you are wanting, but similar.  Also, could you
> put your commands in a batch file and simply call it from 'system'?
> 
> YMMV

I have resorted to that solution.  It seems that MOVE is working where
COPY and then DEL did not.  I need to try it on a few more computers to
make sure it is not environmental.

Thank you for the suggestions.  Do I need to do the command like this:

SYSTEM "start filename.bat"

or is

SYSTEM "filename.bat"

good enough.  I did not think I needed START for a batch file.

Nancy

> 
> Steve Wiltsie
> microCONCEPTS Div. multi/user/inc.        Since 1981
> (812) 474-0127                          Fax: (812) 474-0147
> 
> 
> ----- Original Message ----- 
> From: "Nancy Palmquist" <nlp at vss3.com>
> To: "filePro List" <filepro-list at lists.celestial.com>
> Sent: Monday, February 21, 2005 4:07 PM
> Subject: SYSTEM command on Windows XP systems
> 
> 
> 
>>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
>>
>>
>>_______________________________________________
>>Filepro-list mailing list
>>Filepro-list at lists.celestial.com
>>http://mailman.celestial.com/mailman/listinfo/filepro-list
>>
> 
> 
> 
> 

-- 
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