The @ in a bat file supresses the command from display. Like echo off. Write a simple MV program and call it Hello in your account. "BP HELLO" PRINT "HELLO" END
In the batch file change the directory to that account then execute uvsh like below c:\ibm\uv\bin\uvsh "RUN BP HELLO" You should see the output of hello. The list VOC was most likely blinking because it was displaying all records and the ctrl chars in the VOC file as well and your cmd display window did'nt like it. Bad example I guess. However Lance's UniObjects example is a great place to start if you are looking to use ASP/UniObjects rather than CGI. If you have no reason you are trying to go about this via a CGI batch file then I would'nt, especially using IIS. Just allowing bat files to run under IIS is a dangerous proposition if you don't have to. Vance ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, February 08, 2005 9:49 PM Subject: Re: [U2] Universe to Web interface > Vance wrote: " > @REM Assuming this is a folder with a uv account > @cd \ibm\uv > @REM Execute the uv command > @c:\ibm\uv\bin\uvsh "LIST VOC" > > I don't know what the "@" signs do, but when I try this > fromthe DOS command prompt window > c:\something\uvsh "LIST VOC" > it just kinda blinks and returns to the DOS Command Prompt window. > I don't see any kind of output. > I don't know why. Where did my output go? > Thanks > Will > ------- > 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/
