Search:

Type: Posts; User: Unimatrix139

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Thread: Cd-rom

    by Unimatrix139
    Replies
    3
    Views
    2,070

    Thanks KrAzY CrAb I'll check it out :D

    Thanks KrAzY CrAb I'll check it out :D
  2. Thread: Cd-rom

    by Unimatrix139
    Replies
    3
    Views
    2,070

    Cd-rom

    I'm attempting to add an autorun-style feature to my text-based OE. Basically, while it's waiting for character to be typed it'll call a subroutine that checks for autorun.inf on drive D: (or...
  3. ASCII 7

    This may be stupidly wrong and totally invalid, but have you tried this?


    #include <stdio.h>

    main()
    {
    printf("\a");
    }
  4. Replies
    10
    Views
    2,645

    Wow!

    Thanks manwhoonlyeats - thats exactly what I was looking for!
  5. Replies
    10
    Views
    2,645

    I was going to use system() to actually call the...

    I was going to use system() to actually call the command and find a way to specify boundaries for the data written to the screen by DOS, but the file method seems better. I'll try that. Thanks!
  6. Replies
    10
    Views
    2,645

    DOS screen output 'containment'

    I am creating an operating environment to run over DOS - There is a command prompt - type interface to the left and a simplistic GUI to the right. I have adapted the command-prompt interface to keep...
  7. Replies
    3
    Views
    1,802

    Don't you have to remove all entities within the...

    Don't you have to remove all entities within the directory before it can be remove it? Maybe you could use findfirst(); and findnext(); coupled with chdir();, remove(); and rmdir(); to find and...
  8. Replies
    2
    Views
    2,005

    Oic - sorry, i guess I'm a bit dumb!! thanks

    Oic - sorry, i guess I'm a bit dumb!! thanks
  9. Replies
    2
    Views
    2,005

    Avatar text thingie

    This may be a stupid question, but how do I change te text above my avatar from 'member' 2 something else?
  10. Replies
    12
    Views
    2,661

    Try replacing EOF with NULL - that always works...

    Try replacing EOF with NULL - that always works for me :D
  11. Replies
    16
    Views
    4,268

    It has to be the best sci-fi in the whole of...

    It has to be the best sci-fi in the whole of ever! lol
  12. Windoze

    I've figured out ways to detect if windoze exists on the root of HDD C, but not if it is active :(



    #include <string.h>
    #include <io.h>
    #include <direct.h>
    #include <dos.h>

    FILE *fp;
  13. Thread: Lfns

    by Unimatrix139
    Replies
    3
    Views
    1,193

    Lfns

    Does anyone have any idea how to access LFNs from pure DOS? I know it's possible but don't know how. I have found some stuff on Google already and I didn't understand :D any ideas? Thanks
  14. Thread: Printer

    by Unimatrix139
    Replies
    7
    Views
    3,347

    Port definitions

    LPT1 and PRN are pretty much identical - LPT1 is the id for Parallell port 1 and PRN is the default parallell port (almost always LPT1) - Anyway, I don't think you can address LPT1 from C with...
  15. Replies
    3
    Views
    2,158

    Good

    Thats a relief - Thanks people! :D
  16. Thread: Printer

    by Unimatrix139
    Replies
    7
    Views
    3,347

    Ports

    I'm not exactly a C wizard, and I can't program using ports. I'd write all the data to a file and use:-


    system("copy file.ext prn");
    or

    system("type file.ext >prn");
    Basically this is...
  17. Replies
    3
    Views
    2,158

    Operating environment

    I've been producing an operating environment for about 3/4 of a year and after reading all these posts about similar things I'm not sure if my command-line interface has any point anymore. Would...
  18. Replies
    9
    Views
    2,592

    32-bit

    I was refering to Shadow's post about Win32 applications in DOS, although after re-reading my post i suppose it doesn't make much sense - It must have done at the time :D when refering to 'DOS XP' I...
  19. Thread: System();

    by Unimatrix139
    Replies
    8
    Views
    1,510

    Dos on XP

    Yeah, but it's just compatibility code; if my app detects XP it'll use this code otherwise it won't :D just trying to please everyone who could use my app!
  20. Thread: System();

    by Unimatrix139
    Replies
    8
    Views
    1,510

    Thanks Salem!

    system("cmd.exe /c START C:\\WINDOWS\\NOTEPAD.EXE C:\\ATXT.TXT");


    It works!! Thanks everyone!
  21. Thread: System();

    by Unimatrix139
    Replies
    8
    Views
    1,510

    \\ or \

    I've tried using SYSTEM(); with both \ and \\ and both give the Bad command of file name error - I was wondering maybe if SYSTEM(); isn't compatible with XP?
  22. Thread: variables

    by Unimatrix139
    Replies
    4
    Views
    986

    :D gd idea

    Good idea - i'll re-write both of them with loops instead. Thanks Salem and Prelude :D
  23. Thread: variables

    by Unimatrix139
    Replies
    4
    Views
    986

    funcnext

    Its just an example of what me program does. The real thing goes like this:-



    prompt()
    {
    char buffer[1000];
    int i;
    if(promptr!=NULL)
    {
  24. Thread: variables

    by Unimatrix139
    Replies
    4
    Views
    986

    variables

    If I define a variable in a procedure, can I call the procedure again and again without problems? I am using code like this:-




    void func02()
    {
    char buffer[700]
    strcpy(buffer,...
  25. Thread: System();

    by Unimatrix139
    Replies
    8
    Views
    1,510

    System();

    I am running my DOS application under Windows XP. I am using the following line of code to open ATXT.TXT with NOTEPAD.EXE. START is an internal command in DOS XP (thanx to an 'Unregistered' for that...
Results 1 to 25 of 55
Page 1 of 3 1 2 3