Is it possible to associate an application with a particular file type; e.g. open up .c, .cpp and .h files with Nedit when you double-click them from the File Browser.
On Windows its easy, but on a Solaris platform, I cannot find where it would be done, if at all!
Many thanks,
Andy.
User Profile
Collapse
-
Convert Program to Shared Library
I have a program that sends and receives data via a TCP/IP socket, but I would like to convert this application to a Shared Library so that other programs can use this library to send() and receive() data.
This is on a Unix platform using a gcc compiler.
Forgetting about the send option for the present, I have the typically:-
...Code:// The client program for the application. #include "initComms.h"
-
Found how to de it:-
But would like to be able to set the Window title?Code:print "Starting Server\n"; $runserver = system("cmd /c start runserver.bat"); # Start in new DOS window sleep(2); # 2 seconds
Andy -
Getting Multiple DOS Windows in Perl
Getting a new DOS Windows for each batch file that is run.
...Code:print "Starting Server\n"; start sever= system("cmd /c runserver.bat"); sleep(2); # 2 seconds print "Starting Client1\n"; start runclient1 = system("cmd /c runclient1.bat"); print "Starting Client2\n"; start runclient2 = system("cmd /c runclient2.bat");
No activity results to display
Show More
Leave a comment: