-
Execute an exe file
Could anyone please help me to execute an exe file "fi2t1" and store its output files into the destination "C:\\Temp\\sample".
Currently, my following code is not outputting any files.
private static void compilingFiles() throws IOException
{
String SecondParam = "C:\\Temp\\sample";
Process procforopenreport2 =Runtime.getRuntime().exec("cmd /c start /MIN C:/Temp/sample/fi2t1 "+new File(SecondParam));
}
-
Could anyone please help me to execute an exe file "fi2t1". It needs to pick up necessary files from source and place the output files to the desination
source =>String FirstParam1 = "C:/Temp/sample";
destination=>String SecondParam = "C:/Temp/sample";
My code is:
private static void compilingFiles() throws IOException
{
String FirstParam1 = "C:/Temp/sample";
String SecondParam = "C:/Temp/sample";
Process procforopenreport2 =Runtime.getRuntime().exec("cmd /c start /MIN C:/Temp/sample/fi2t1 "+ FirstParam1, (String[])null, new File(SecondParam));
}
Similar Threads
-
By eugene2005 in forum VB Classic
Replies: 2
Last Post: 04-01-2006, 09:48 PM
-
By priya in forum ASP.NET
Replies: 1
Last Post: 01-17-2002, 09:12 PM
-
By Sinni in forum VB Classic
Replies: 7
Last Post: 07-25-2001, 02:07 PM
-
By Bazy in forum VB Classic
Replies: 0
Last Post: 06-27-2001, 04:11 PM
-
By Paul in forum Database
Replies: 0
Last Post: 08-22-2000, 10:54 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks