75 Topics

Member Avatar for
Member Avatar for bmfinn

I am trying to create a gui that will interact with an existing external console application, e.g. the user only changes information in text boxes or radio buttons and that will prompt the VB.net program to sumbit a certain set of commands. I will create a folder for the end …

Member Avatar for bmfinn
0
928
Member Avatar for ryklon

Hello! So here I am again asking for your knowledge and help.:$ I have this little project of embedding the g++ compiler in my software. What I have done so far is place the compiler inside the bin of my project folder, inside the Debug folder. I managed to call …

Member Avatar for ryklon
0
178
Member Avatar for Lucaci Andrew

So, even thou I have searched throughout the forums, I couldn't get a clear answer, maybe perhaps I'm a noob @ Python. As a beginner, I don't know much about Python, and it's frustrating to search the net and not find the actual answer. So, I'm working on this project, …

Member Avatar for Lucaci Andrew
0
311
Member Avatar for ilovejava

[URL="http://i.imgur.com/iwNHY.jpg"]http://i.imgur.com/iwNHY.jpg[/URL] i already set a path for jdk and etc, it worked before but now it doesnt work the code works on ecclipse so the code is correct but i have to learn how to compile using command prompt check out this image i get this same error i do …

Member Avatar for NormR1
0
285
Member Avatar for Staric

I was dragging and dropping flv files onto this bat file so I could watch in fullscreen on my second monitor:[CODE]set vlcPath="C:\Program Files\VideoLAN\VLC\vlc.exe" %vlcPath% %1 --video-x=1366 --video-y=768 --width=300 --height=300 --fullscreen --no-video-title-show --no-embedded-video --no-qt-fs-controller[/CODE] but would rather write a batch file with a menu so I could simply select the video …

0
148
Member Avatar for b1izzard

How to list out i"dle users only" using finger command? (Commandline) [CODE] $finger Login Name Tty Idle Login Time Where ravikumar ravikumar *:0 - Sun 19:54 console ravikumar ravikumar *pts/0 2:36 Sun 19:56 ravikumar ravikumar *pts/1 - Sun 22:08 $ finger | tr -s " " | sort -k 4 …

Member Avatar for b1izzard
0
651
Member Avatar for mwjones

Is it possible to have an optional command-line argument? For example, I want: [CODE]script.py -b[/CODE] to behave differently than [CODE]script.py -b 6[/CODE] In script.py, an enumerated -b argument specifies a behaviour, but if no argument is specified, a behaviour is randomly chosen. Here is my experimentation with getopt. With an …

Member Avatar for Gribouillis
0
235
Member Avatar for typedefcoder

I want to parse command line arguments. Say someone gives me ./progname param2 [-price=50] [-size=10] [-weight=16] [-height=7] Square bracketed items are optional. Either none or exactly two of -price, -size, -weight, and -height can be specified. If none of them are specified, it should be taking default values for price …

Member Avatar for vijayan121
0
257
Member Avatar for fkrafi

I can compile following code using "cl A.cpp" but i want to compile with an input file A.in and generate output file A.out.. is there any why to do that from cmd.... [B]A.cpp[/B] [CODE] #include<stdio.h> int main(){ int n; while( scanf("%d", &n) ){ if( !n )break; printf("%d\n", n); } return …

Member Avatar for WaltP
0
229
Member Avatar for nerden

Hi, I am building a VB.NET app which amond other things, deploys a scheduled task to run test.bat when A Windows Server 2008 Backup is cancled. I have the app all working which runs a command which, when works, will be the event creation command. I figured out how it …

0
169
Member Avatar for sanuphilip

Detail on command line arguments with sample program to simulate the following DOS commands using cmmand line arguments - 1. copy 2. type 3. del 4. dir 5. rd

Member Avatar for dospy
-1
328
Member Avatar for NetJunkie

So, I am running into an issue. I am wanting to display the contents of the open CMD window in my Rich Text Box. Any help? Thanks.

Member Avatar for Teme64
0
536
Member Avatar for momartin

I need to run several commands more than 400 times for a mass number of files. Therefore, I'm trying to incorporate the commands in to a python script to automate the processes. Even though the commands run successfully in the the windows command prompt (I have manually tested the commands), …

Member Avatar for Gribouillis
0
1K
Member Avatar for 11684

Hi, I just started programming in Java, and now i tried to compile a file with the Mac Terminal (Command-line), but it did only give me an error which i couldn't explain, because this code did work in Eclipse compiler. Here's my code: [code="java"] class HelloWorldApp { public static void …

Member Avatar for 11684
0
261
Member Avatar for blivori

Can you kindly tell me why I am getting a runtime exception when trying to run this code? [CODE] Sub BtnNowClick(sender As Object, e As EventArgs) Dim myProcess As New Process Dim processFile As String = dlgFolder.SelectedPath Dim pyLocationDel As String = Path.Combine(dlgFolder.SelectedPath, "pdfmerge.py") Directory.SetCurrentDirectory(dlgFolder.SelectedPath) myProcess.Start(pyLocationDel) myProcess.WaitForExit() System.IO.File.Delete(pyLocationDel) End Sub[/CODE] …

Member Avatar for lolafuertes
0
382
Member Avatar for Smithy566

Is it possible to set the maximum memory windows can use via command line. This option is very easily changed through the GUI as seen [URL="http://www.sevenforums.com/tutorials/66482-memory-set-maximum-amount-used-windows-7-a.html"]in this tutorial[/URL] I can't seem to find any examples online without running into something similar to the tutorial provided above. My target device is …

Member Avatar for Smithy566
0
126
Member Avatar for IndianaRonaldo

Hi, I am behind a SQUID proxy.I need to set proxy settings for cmd.I'm using win7 so proxycfg cannot be used.I used netsh like this: netsh winhttp import proxy source=ie Internet explorer had my proxy settings already.Now the problem my proxy requires username/password authentication.I do not know how to set …

0
194
Member Avatar for sathya88

some commands working properly(notepad ,control(control panel))... but how to execute commands "dir" like that my code is ... [CODE] public class test1{ public static void main(String args[])throws Exception{ Runtime r= Runtime.getRuntime(); Process p1=r.exec("notepad");//working fine Process p2=r.exec("control");//working fine Process p3=r.exec("test1.java");//cannot run Process p4=r.exec("dir");// cannot run } } o/p: F:\studies\java\test>java test1 Exception …

Member Avatar for JamesCherrill
0
8K
Member Avatar for Pravinrasal

this is in execute method() { Process p = Runtime.getRuntime().exec(command, env); } System.out.println(r.execute(" C:\\Program Files\\Java\\jdk1.6.0_21\\bin\\javac demo.java” , null)); System.out.println(r.execute(" C:\\Program Files\\Java\\jdk1.6.0_21\\bin\\java demo”, null)); i want to run demo.java from this code i used timer class also. i got the error "Illegal execution time" i dont know why when i run …

Member Avatar for NormR1
0
346
Member Avatar for baby_c

hello friends..got a problem again.. I'm developing a software for one of our assignments.I have coded that program using Netbeans but we have to upload the assignment as one java file.So I created one java file and again checked in netbeans as a single file.It works perfectly.And then I tried …

Member Avatar for baby_c
0
210
Member Avatar for K0ns3rv

A little program I made to try and remeber C++, first program I've written in C++ in about a year. Tested and working under windows 7 64 bit, run via command line. If you have any improvements or ideas please leave a comment. Cheers K0ns3rv

Member Avatar for mrnutty
1
315
Member Avatar for Shansal

Hi, I created an app. I have some files which I can open with this app. So I made the association with the commands below: [CODE]assoc .bengi=BengiFile ftype BengiFile="C:\Program Files (x86)\Bengi\CreateAS.exe" "%1" %*[/CODE] After these, I can see that my file's icon has changed according to my app's icon. But …

Member Avatar for mittelgeek
0
154
Member Avatar for initialise

Hi all, I'm stumped and can't seem to find an answer on Google. I am running a java application through Eclipse and it connects to mysql. It connects fine if I run it through Eclipse but if I make a standalone jar file and then run it through Window's Vista …

Member Avatar for initialise
0
631
Member Avatar for vishalbhavsar

hi all, i m trying with DOS commands. the command 'msg' works very well in windows xp. but when i tried the same in windows 7, it gives an error. can anybody please tell me why does this happens? is there any alternative command for it? or how can we …

Member Avatar for caperjack
0
101
Member Avatar for mohana88

Hi, I am developing an application where in I am using both forms and command line arguments. I have tried using Environment.getCommandLineArgs(). But it is reading only one argument, the path of the exe file. The command line arguments are first read and if present they are executed. Or else …

Member Avatar for mohana88
0
584
Member Avatar for geronamo26

hey, i hav windows 7 and i want to send a message from my computer to another laptop in my house via command prompt, they are both on the same network. net send does not work and i hav heard to use msg. everytime i type msg i get "msg …

Member Avatar for benmar
0
189
Member Avatar for WolfShield

I've run java programs in Command Prompt before and it worked, but today I tried and it's saying: 'javac' is not recognized as an internal or external command, operable program or batch file. I am running Windows Vista and have four (4) files under Java: jdk1.6.0_23 jdk1.6.0_24 jre1.6.0 jre6 Umm, …

Member Avatar for DelphiGuy
0
228
Member Avatar for ktsangop

Can anyone please give me a guideline on how to code the following? I have an MFC application which should call on a timer basis a python script from command line and read the ouput of that command line. I thought of using CreateProcess, but i have no clue of …

Member Avatar for ktsangop
0
410
Member Avatar for Transcendent

I'm suppose to use Command-Line Arguments to take user input and than use an enhanced for loop to sum. [COLOR="Red"]This is the error: Exception in thread "main" java.lang.Error: Unresolved compilation problem: Type mismatch: cannot convert from double to int[/COLOR] [CODE] public class EnhanceForLoop { public static void main(String[] args) { …

Member Avatar for Transcendent
0
808
Member Avatar for DKDeath

Hello! I'm a beginner in the worl of C++. I'm building a program that acts as a launcher for a game. In it I have Start and Exit button. What I want the Start button to do is start an .exe with extra conditions: IP and Port. [CODE] if (nResponse …

Member Avatar for DKDeath
0
870

The End.