Hi
2 questions:
1) We have multi-user DOS application that in order to display reports to screen, calls up an executable called 'list' As long as list.com or list.exe is in the data folder on the server, it will use the local user's program. We trick it by renaming wordpad.exe and it runs, using the user's local Wordpad. Trouble is on some users they have a special non-MS version of Wordpad called Cetus Wordpad (much better... allows default font sizes to be changed!). But then 'list.exe' has to be one or the other... if it is really Cetus (Cwordpad.exe) renamed to list.exe and a user who doesn't have it installed tries to use it, he will get no display.
Is there a way of setting a user up (in say autoxec.nt or something) so that if list.exe is called, it substitutes wordpad.exe... and other user so that his PC runs CWordpad.exe?
2) Similarly, A windows program tries to save data in c:\ (root.) But some PCs have that set to read only, and we want it to write to C:\Contrax instead. We can't change the program at this stage (or write in parameters in a control file), and anyway different sites will have different needs. Is there a way that the OS can substitute a folder for another (i.e if request to write to c:\ write to c:\contrax instead) ?
Don't want much, do I!
________
Regards and thanks
Paul Haydock
2 questions:
1) We have multi-user DOS application that in order to display reports to screen, calls up an executable called 'list' As long as list.com or list.exe is in the data folder on the server, it will use the local user's program. We trick it by renaming wordpad.exe and it runs, using the user's local Wordpad. Trouble is on some users they have a special non-MS version of Wordpad called Cetus Wordpad (much better... allows default font sizes to be changed!). But then 'list.exe' has to be one or the other... if it is really Cetus (Cwordpad.exe) renamed to list.exe and a user who doesn't have it installed tries to use it, he will get no display.
Is there a way of setting a user up (in say autoxec.nt or something) so that if list.exe is called, it substitutes wordpad.exe... and other user so that his PC runs CWordpad.exe?
2) Similarly, A windows program tries to save data in c:\ (root.) But some PCs have that set to read only, and we want it to write to C:\Contrax instead. We can't change the program at this stage (or write in parameters in a control file), and anyway different sites will have different needs. Is there a way that the OS can substitute a folder for another (i.e if request to write to c:\ write to c:\contrax instead) ?
Don't want much, do I!
________
Regards and thanks
Paul Haydock