Mar 19, 2001 #1 madeout Programmer Mar 19, 2001 3 TH I would like to write a script that opens editplus to edit a designated text file in win 2k. Can I do this?
I would like to write a script that opens editplus to edit a designated text file in win 2k. Can I do this?
Mar 20, 2001 #2 vcherubini Programmer May 29, 2000 527 US Sure. I would suggest using the open() function to open a pipe to do this. For example: [tt] open(EDP,"C:/path to editplus/editplus.exe filetoopen.txt |" || die("failed to open file: $!" close(EDP); [/tt] That will only work if editplus.exe has the ability to open files via the command line. Hope this helps. -Vic vic cherubini vikter@epicsoftware.com http://www.epicsoftware.com==== Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director ==== Upvote 0 Downvote
Sure. I would suggest using the open() function to open a pipe to do this. For example: [tt] open(EDP,"C:/path to editplus/editplus.exe filetoopen.txt |" || die("failed to open file: $!" close(EDP); [/tt] That will only work if editplus.exe has the ability to open files via the command line. Hope this helps. -Vic vic cherubini vikter@epicsoftware.com http://www.epicsoftware.com==== Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director ====