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

RE: [sqr-users] Call system command question




Those commands will only work for a standalone windows OS (your desktop 
machine).  You will need to change the commands and the file locations 
depending on the OS of your server

Richard Knapp
Database Programmer/Analyst
Institutional Research and Planning
University of Missouri System
573-882-8856
knappr@umsystem.edu


-----Original Message-----
From: sqr-users-admin@sqrug.org [mailto:sqr-users-admin@sqrug.org]On
Behalf Of AmiPatel@loews.com
Sent: Thursday, January 15, 2004 9:40 AM
To: sqr-users@sqrug.org
Subject: [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

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