Oh ho. This is really something. Thanks very much guys. Yeah, works for me too. No problem. Unix commands (the "SH -c" does indeed work) or UV commands. Take ya pick.
We've got an insert routine for inputs, which *does* filter out the field markers. Problem is there's no mandate to use it, and therefore we've got many programs using plain old INPUTs, no sanitizing, and, you guessed it, problems. This is a great forum. Thanks again. (c: Paul David Jordan wrote: > > Hi Brian > > I can achieve it with Ray's control character or paste it from another > application. This does not work from TCL, but does work in an execute > command within a program as demonstrated below, allowing a user to get to > operating system commands. > > Regards > David Jordan >> >> If you had a program such as example below >> >> ED BP TEST.BREAK >> 3 lines long. >> >> ----: P >> 0001: PRINT "ENTER NAME ": >> 0002: INPUT NAME >> 0003: EXECUTE "LIST VOC ":NAME >> Bottom at line 3. >> >> >> >RUN BP TEST.BREAK >> ENTER NAME ctl-^DOS /c DIR >> >> It will list the VOC then execute the DOS command DIR. In Unix the SH >> shell command would probably do the same. >> >> There are security measures that can be taken to mitigate this. Using >> the >> voc security routine, Cleaning control characters out of inputted data. >> >> Regards >> >> >> David Jordan >> >> Managing Consultant >> ------- >> u2-users mailing list >> [email protected] >> To unsubscribe please visit http://listserver.u2ug.org/ > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ > > -- View this message in context: http://www.nabble.com/Stringing-commands-together-on-the-command-line.-Possible--tf4688153.html#a13480469 Sent from the U2 - Users mailing list archive at Nabble.com. ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
