[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 question



Hello friends,

I am using following code from my SQR program & it looks like its working
fine on my machine.

Do you see any harm if program runs from scheduler on server....I am not
sure about  "cmd /c @start /min /wait cmd /c" part.. I will change my
printer accordingly. I have no knowledge for this commands...

 let $cmd = 'cmd /c @start /min /wait cmd /c "copy /b
c:\winnt\temp\sal0110t.lis lpt1"'
  let $cmd1 = 'cmd /c @start /min /wait cmd /c "move /y
c:\winnt\temp\sal0110t_01.lis c:\sal0110t_moved.lis"'

 Call System using $cmd #status
 call system using $cmd1 #status1

AMI PATEL


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