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

[sqr-users] Call System Using Cammand



Hello All,

I am hoping that someone might know how to use the call system using command 
to execute the .bat file that is residing on a different server than where 
SQR is running from. We have Windows operating system running on both the 
servers. I am populating the complete File path and file name into a 
variable, say $script_file and then use following lines to actully execute 
that file:

let $command = getenv('COMSPEC')||' /c "' || $script_file || '"'
call system using $command #status WAIT

I am sure this is not the right way, but not sure how I can use it. Can 
anyone please help? I will really appreciate your help in this matter. I 
tried searching on user group posting with no luck.

Thanks,
Anu

_________________________________________________________________
Discover. Explore. Connect-Windows Live Spaces. Check out! 
http://www.msnspecials.in/windowslive/livespaces.asp


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