September 1st, 2003, 11:00 AM
C++ on DOS
I have a file on c:\2.txt
Everything is OK with my command line
I can also compile my file ex1.cpp :
C:\>bcc ex1.cpp //OK I have got ex1.exe
But when I try to do
I have a massage
Bad command or file name.
There is no problem when I do the same thing with a file ex2.cpp
C:\>bcc ex2.cpp //OK I have got ex2.exe
C:\>ex2 // No problem and I can read a time
If someone can help me?
September 1st, 2003, 11:09 AM
The system command is looking for an executable. What is the chance that '2.txt' is an executable?
September 1st, 2003, 12:22 PM
If your trying to do somthing like launch edit and load 2.txt, try this:
This should cause the contents of 2.txt to appear on screen. You could also use edit to do much the same thing.
(note: I've never done it before, but I think it ought to work)
Every morning, I get up and look through the Forbes list of the richest people in America. If I'm not there, I go to work.
May your Tongue stick to the Roof of your Mouth with the Force of a Thousand Caramels.
To the systems programmer, users and applications serve only to provide a test load.