05-02-2018 11:25 PM - edited 05-02-2018 11:27 PM
I have a notepad file with x and y data's and i want to open it with a plotting app. I used system("notepad xy.txt") function to open it with notepad and had no issues but by using system("plotapp xy.txt") wasn't working. Is there a way to do this differnetly?
05-03-2018 12:52 AM
Might it be that you need to use "\full\path\to\plottapp.exe" instead of just "plotapp" ?
05-03-2018 01:44 AM
@mkossmann ha scritto:
Might it be that you need to use "\full\path\to\plottapp.exe" instead of just "plotapp" ?
... or the full pathname to the data file.
Does system () return any error?
05-04-2018 09:30 AM
yes , But i have managed to work the application by Using CopyFile() to copy plotapp to a the folder which the text file lies. I ve also tried giving path name in System but doesnt work . System() works pretty fine for System 32 prgrams
05-04-2018 09:31 AM
I ve tried it but doesnt work
05-13-2018 08:17 AM
I used CopyFile to cply the app and used system() and setDir to open it from there and it works . Thanks all for help.