Thread: Calling DOS based programs

  1. #1
    ResurgentBarbecue UnclePunker's Avatar
    Join Date
    May 2002
    Posts
    128

    Calling DOS based programs

    Hi, I am wanting to write a prgram for work to basically backup network drives, shoulnd't be too hard to write, I was just wondering if anyone could tell me either how to call MS DOS based programs or just to call the PKZIP and PKUNZIP programs, all i want to do is grab an entire network drive zip it and save it to a hard drive on a seperate computer.

    Thanks in advance people.

    Ben.

    Compiler == Visual C++ 6.0

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    Have a look at the CreateProcess() API routine.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Check out the system() command. It will do everything you need.

    edit: HOLY CRAP! Three posts at once!
    Away.

  4. #4
    ResurgentBarbecue UnclePunker's Avatar
    Join Date
    May 2002
    Posts
    128
    Cheers guys, got some reading here but I'll let you know how I get on, what a quick response.

    Ben.
    Compiler == Visual C++ 6.0
    "Come Out Fighting."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Small VGA unit for DOS games
    By VirtualAce in forum Game Programming
    Replies: 1
    Last Post: 10-17-2003, 12:08 AM
  2. calling programs from a JAVA application
    By md4u in forum C++ Programming
    Replies: 3
    Last Post: 05-04-2003, 12:40 PM
  3. Replies: 8
    Last Post: 07-20-2002, 09:23 AM
  4. colors in DOS console based applications
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 06-09-2002, 10:37 PM
  5. Menus in DOS programs
    By codewarrior in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 10-09-2001, 06:19 AM