
#include <stdio.h>
#include <libraries/dos.h>

#define CMD_PKT "net:ram/command.pkt"

void main(int argc, char **argv) {
  FILE *file=0;

  if (argc==1) exit(0);

  if (file = fopen(CMD_PKT, "w")) {
    fputs(argv[1], file);
    fclose(file);
  } else puts("Can't open command packet");

exit(0);
}
