storm@cs.mcgill.ca (Marc WANDSCHNEIDER) (04/22/91)
How does one manipulate environment variables in Turbo PASCAL 6.0..? Is there anywhere in the manuals where I can get more information on this? The reason I ask is because I am writing a patch for a program to a BBS. However, the program has a JUMP to SHELL routine which allows the user to jump to DOS. Obviously, the SYSOP doesn't want the users to be able to do this, so I was wondering if there was a way I could mess with the COMSPEC or the SHELL= line so that the jump to shell would be disabled. Then, when the program is done running, the TP program would reset the COMSPEC or SHELL=. Can this be done, or is there a simpler way to correct this problem..? ./*- -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storm@cs.mcgill.ca McGill University It's 11pm, do YOU Marc Wandschneider Montreal, CANADA know what time it is? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~