Home > Archive > dBASE Questions and Answers > October 2006 > Running cmd.exe with arguments









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Running cmd.exe with arguments
Allen Peplinski

2006-10-25, 7:34 am

My process is:

Create a table structure,
Run tEthereal and create .csv files
append those .csv files into the created table.

I'd like to automate this. I've created a program that creates the tables and will append the information from the files created by tEthereal, but how, in my program can I run tEthereal with arguments passed to it???

What I would like to do is

-Create tables (already done)

-run tEthereal (with associated arguments here) (need help on!!!)

-append file that tEthereal creates (already done



Any help would be great!!!
Eric Logan

2006-10-25, 7:34 am

> "Allen Peplinski" wrote ...
>...but how, in my program can I run tEthereal with arguments passed to

it???
> -run tEthereal (with associated arguments here) (need help on!!!)


Allen;
This small program allowed me to select a file and to open it with QuickView
Plus. Maybe this is something like what you need.
E.L.
********************

// QVPView.prg
mcmnd = [run(true,"C:\Program Files\Quick View Plus\Program\qvp32.exe ]
mcmnd+= [']+getfile()+[' ")]
&mcmnd.
********************



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com