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 info!), but when I try to use the code it reports 'Bad command or file name', as if it's trying to find an executable. My line of code is this:-
I have typed this manually at the command processor and it produces the desired effect, but not with SYSTEM();. Any ideas?Code:system("START C:\WINDOWS\NOTEPAD.EXE C:\ATXT.TXT");