View Single Post
Old 07-02-2004, 01:32 PM  
FTPServerTools
Senior Member
 
Join Date: Sep 2002
Posts: 543
Default

Code:
#include <stdio.h>
#include <stdlib.h>
void main(int argc, char *argv[])
{
  int i;
  for (i=0;i<argc;i++)
    printf("Arg[%d]=s\n",i,argv[i]);
}
compile as mytool.exe

In tcl:
set reply [exec -- "c:/mytools/mytool.exe"]
FTPServerTools is offline