12-23-2008, 02:38 PM
Hi ,
Consider these below examples - it may give you a better perception:
Example 1:
Example 2:
Example 3 :
Consider these below examples - it may give you a better perception:
Example 1:
Code:
SystemUtil.Run "C:\WINDOWS\system32\cmd.exe","","C:\","open"
Here "C:\WINDOWS\system32\cmd.exe" --> entire file path (Mandetory Parameter)
"C:\" --> Working Directry ( Optional parameter )
"open" --> mode ( Optional parameter )
Example 2:
Code:
SystemUtil.Run "C:\Program Files\HP\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\Program Files\HP\QuickTest Professional\samples\flight\app\","open"
Example 3 :
Code:
SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe","","Y:\","open"
browser("..").Navigate("www.xyz.com")