SYSTEM() Arguments.
[1] String parameter within single quote.
system("FIND.EXE "SATA" COMPUTER.TXT")
Note: Compiler outputs Errors.
[2] String parameter within double quotes.
system("FIND.EXE ""SATA"" COMPUTER.TXT")
Note: Compilation done. EXE Created.
Execution Error message - FIND: Parameter format not correct.
* FIND.EXE needs the search string parameter within quotes.Here "SATA".
Can someone please guide ?
Regards ,
(youngstar)
Try:
system("FIND.EXE \"SATA\" COMPUTER.TXT")