[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

[sqr-users] CALL SYSTEM COMMAND



Thanks for your help everyone.  I've included my CALL SYSTEM
COMMANDs below for future reference. All three are functioning
perfectly ....


     !******* Set printer paths *******
     let $command_str_1 = 'net use lpt5 \\printer\path '
     CALL SYSTEM USING $Command_str_1 #return_status NOWAIT

     !**** Windows98 Environment ****
     let $command_str_2 = GETENV('COMSPEC') || '  /c copy c:\abs_main.lis
lpt5 '
     CALL SYSTEM USING $Command_str_2 #return_status NOWAIT
         
     !**** Windows2000 Environment **** 
     let $command_str_3 = 'cmd /c copy c:\abs_main.lis lpt5'
     CALL SYSTEM USING $Command_str_3 #return_status NOWAIT
         


Paul M. Mezzullo 
pmezzull@esboces.org

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users