Thread: My Windows Shell Finally Done!!!

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Seven years? civix's Avatar
    Join Date
    Jul 2002
    Posts
    605
    actually unregistered dude, i used internal DOS commands to do this...if someone disassembled it, they would find almost nothing but cout and system calls. The way i got my program to run DOS commands internally is: system calls. almost any system call will compile, but not all of them will work. See, if you used
    Code:
    #inlcude <iostream.h>
    #include <windows.h>
    int main()
    {
    cout<<" This Program Lists The Directory of C:\\";
    system("Dir C:\\");
    }
    return 0;
    that is the same command used to display the directory of drive C used in DOS..I think you will understand after that..and hope it helps...
    Last edited by civix; 07-23-2002 at 01:47 AM.
    .

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  2. Menu Item Caption - /a for right aligned Accelerator?
    By JasonD in forum Windows Programming
    Replies: 6
    Last Post: 06-25-2003, 11:14 AM
  3. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM
  4. How come this only works in Windows nt/2000?
    By Unregistered in forum Windows Programming
    Replies: 1
    Last Post: 08-30-2002, 06:54 PM
  5. shutting down windows
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 01-02-2002, 12:28 PM