50 Topics

Member Avatar for
Member Avatar for Pravinrasal

Process p = Runtime.getRuntime().exec("C:\\tc\\bin\\" + prog_name , null); BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getInputStream())); System.out.println("Here is the standard op :\n"); s1=stdError.readLine(); i have this code can anyone tell me how to run c program using java thanks !

Member Avatar for NormR1
0
196
Member Avatar for STP_Captain_Slo

Hi I have been looking all day trying to find a way to do this. I need to run a Batch file which is held on a server, the file path begins with a IP Address which DOS doesn't like. So i found the pushd command which assigns a temp …

Member Avatar for adam_k
0
280
Member Avatar for warlord902

Let me tell you I already got the tutorial on how to do this [url]http://db.apache.org/derby/docs/10.3/adminguide/tadminconfig814963.html[/url] But sincerely speaking I did not understood how to do any of the two methods described. Let me tell you my confusions and what I didn't understood and I am developing my project in netbeans. …

Member Avatar for warlord902
0
1K
Member Avatar for rhuffman8

I wasn't sure which section to post this under but I am working on an assignment in SQL and have created a batch file to make the tables, load the data into the tables, and then sends several queries to sql to get results. Is there a way I can …

Member Avatar for smantscheff
0
181
Member Avatar for rhuffman8

I wasn't sure which section to post this under but I am working on an assignment in SQL and have created a batch file to make the tables, load the data into the tables, and then sends several queries to sql to get results. Is there a way I can …

Member Avatar for rhuffman8
0
170
Member Avatar for irenejd

I have an electronic subscription to a newspaper and I generally download and print the puzzles for doing them later. Due to health issues, I'm behind about 6 months, but I'd like to catch up. I'd like a script to automate the download and save it to my PC. I'm …

Member Avatar for irenejd
0
146
Member Avatar for Rk_Raj

Hi friends, Please guide me how to create a batch file to fit this scenario, "I have a Folder Named [B]Addons[/B] which has 110 Folders which themselves has many sub folders and files of differnet extentions for eg(C:\Program Files\OpenERP\Addons). In this i have to leave around 15 decided Folders and …

Member Avatar for VulcanDesign
0
178
Member Avatar for patrickm129
Member Avatar for Nick Evan
0
97
Member Avatar for dsul

I'd like to have a windows forms application execute a command line instruction similar in structure to the following: ProcessText file1 file2 where ProcessText is a working console tool for automated text processing, file1 is the text I need processed, and file2 is the created text output. From the command …

Member Avatar for PsychoCoder
0
200
Member Avatar for musicalsailor

Can anyone give me an example of a DOS BAT file (script) that could FTP a file (variable)? I've got the Linux problem solved, but I need to do it in a DOS environment. Thanks, John

Member Avatar for Hawkeye Python
0
141
Member Avatar for curiousstudent

I need to run a batch file batch file which is stored in my C folder. When I run this file, I get the following on the cmd. 1 APs were seen MAC Address SSID RSSI 00:27:0d:b6:df:10 IBM -93 Press any key to continue . . . Now, I need …

0
105
Member Avatar for patrickm129

Hello, I recently learned a new batch command and I was wondering if I could make a batch file from at root batch file... Ex: [CODE]echo pause>\test.bat[/CODE] This code makes a batch file that has the command pause. Now would I make a multi-line batch file using this code? Ex: …

Member Avatar for patrickm129
0
204
Member Avatar for altXerror

hey guys! i decided to make my own programing language. it is called tempestX. the beta is not ready yet but when it is, i will provide a link for any one who wants to try it. here is a brief explanation: i was used to programing in windows batch, …

Member Avatar for avarionist
0
180
Member Avatar for anthony07

I have this very weird project that my boss gave me. Given my cws.sql file inside "C:/", i need to create a batch file wherein it will automatically create database cws; and use cws; in MySQL Server. Hope Someone can help me. :'(

Member Avatar for qualitybrains
0
181
Member Avatar for Euphobia

Not sure this is the right place to put this. I have a batch file for a program that I'm writing, which takes a C source file, compiles it and runs it, and then tries to save the output of it to a .txt file. The program lets a user …

Member Avatar for Euphobia
0
166
Member Avatar for goodwin912

I've got a little app to resize and watermark images. At the moment it only does one at a time but I would like to get it to do a full folder of images in one go. I have done this previously in VB using loops but im new to …

Member Avatar for Tech B
0
226
Member Avatar for mucoool

i'm having a problem in executing a batch file from my c++ code i've included all the necesary headers like dos.h,process.h,stdlib.h code: system(c:\new\ram.bat); there is no error in the program but the batch file does not get executed..... please help ................

Member Avatar for thomas_naveen
0
203
Member Avatar for lastlight

Newbie problem. For some reason, I can't get this to work: [CODE] FOR /L %%A IN (1 1 23) DO ( if %%A==1 set drive=C: if %%A==2 set drive=D: if %%A==3 set drive=E: if %%A==4 set drive=F: if %%A==5 set drive=G: if %%A==6 set drive=H: if %%A==7 set drive=I: if …

Member Avatar for lastlight
0
408
Member Avatar for wish4129

Hi guys, i would like to ask that is there any way to check whether an process is ended by using batch scripting? i want to start another program B only when the program A is ended.. Any reply would be appreciated, thank you and have a nice day.

Member Avatar for Salem
0
90
Member Avatar for ayesha789

Hi Dear All I have 1000s of JPGs Images. Names like S-KHI-1233 Now I need To rename all the images and new name should be last 4 numeric digits like 1233. For all 1000 JPGs I want to do this. if image name is S-KHI-1964 then new name should be …

Member Avatar for ayesha789
0
166

The End.