[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

[sqr-users] Re: Invoking dos commands thru sqr



Ram,

Here are some ideas.

First, please display $cmd_sort so we can see that your filenames are 
properly constructed.

Next, how are you executing this?   Are you waiting for the sort to finish?

call system using $cmd_sort #statusvar wait  ??  Did you check the 
statusvar value?

Sometimes I have better luck using a batch file containing start/wait 
commands, and invoking the batch file.

What is the file you are trying to sort?  If it's one you're making in the 
current SQR, did you close it first?

If you don't have good results yet, use a simpler, short dos command (like 
'dir') as a test and see if you get the output. This will help isolate 
whether the problem is in the invocation, or in the filename and sort 
command.  Try it without the > $file2 redirection and see if you see the 
output.

Dave

Dave Donnelly           <dave@isisbio.com>
ISIS BioComp            phone (951) 677-2446      fax (775) 314-7897


_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users