SYSTEM() Arguments.

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)
closed account (z05DSL3A)
Try:
system("FIND.EXE \"SATA\" COMPUTER.TXT")
Topic archived. No new replies allowed.