|
I want to run a C program in DOS prompt. Is it possible?
Started by Sumeshsankar on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You can install TCC which allows still call the "DOS....
Yes, it is possible.
You cannot directly run a .c file at the DOS prompt.
To an .exe file) at the DOS prompt (by simply running the .exe as other answers suggest).
|
|
In C# and .NET, I wrote an application that runs in a Form (using Windows.System.Forms ). I use InnoSetup to install and I am able to start the application via Windows' Start button.
My problem: a DOS command-prompt window appears along with the Form....
Started by JaysonFix on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Hopefully.
/target:exe will give you the command-prompt, /target:winexe will just show the form.
Setting.
Application", a command-prompt window will appear when running the program, as well as the form.
|
|
I created a java program that will pop up a dialog, and scheduled it as a task. Everything works fine except when the scheduled java program runs and the dialog pops up, there is another window (svchost.exe) hanging behind the dialog box and doesn't go...
Started by Belady on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
One word of warning (posting as an answer so I can get fancy links and for length): Services which pop up UI are basically security holes waiting... .
If you want your Java program to have no console window, you need to launch Java using javaw , not java .
|
Ask your Facebook Friends
|
What are commands for incoming,pull,push commands using dos command promt from mercurial(hg), in details i want to know that how i do this....
Help me all ways
Thanks
Answer Snippets (Read the full thread at stackoverflow):
In addition to the Definitive Guide linked by Vincent, see also hg help and the hg(1) manpage . .
The Definitive Guide will answer all your questions.
|
|
The title says it all. I can connect to my SQL Server database via sqlcmd from a DOS command window, but not from a Cygwin window. From DOS:
F:\Cygnus>sqlcmd -Q "select 'a test'" -S .\SQLEXPRESS
a test
(1 rows affected)
F:\Cygnus>
From Cygwin:
$...
Started by DCookie on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Try doubling it:
sqlcmd -Q "select 'a test'" -S .\\SQLEXPRESS.
You may have to allow remote connections for this, and give the full server name i.e SERVER\SQLEXPRESS
The backslash is being eaten by cygwin's bash shell .
|
|
How do i get to a dos prompt ? ie, run dos; thanks
how can i get to the dos prompt with out the c:\documents and settings\admistrator> ? ie, i only want the c: drive , ? thanks i'm trying to run a dos game, what about dosbox ? thanks
Started by muddy123 on
, 15 posts
by 8 people.
Answer Snippets (Read the full thread at techguy):
Try-DOS is the ability....
I saw "prompt" and quickly assumed muddy123 was asking for a command prompt.
Windows XP doesn't run on DOS.
That's a command prompt.
That's not DOS.
Start > Run > type CMD
Press Enter.
|
|
I like to know if there is a way to read the user input inside a batch file, because i have a file named: "fif.bat" that recives two parameters (just call them paramA and paramB ) so i execute the file like this:
fif paramA paramB
I have to change paramA...
Started by lk on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
You can prompt for user input in a batch file using SET /P for example:
SET /P paramB="Prompt.
|
|
Windows's Snipping tool can capture the screen, but sometimes I want to capture the screen after 5 seconds, such as taking an image being displayed by the webcam. (run the script and smile at the camera, for example).
So in Ruby, I could do something ...
Started by Jian Lin on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
You can use vbs: myscript.vbs:
set wsobject = wscript.createobject("wscript.shell") do while 1=1 wsobject.run "SnippingTool.exe",0,TRUE wscript.sleep 3000 loop
batch file:
cscript myscript.vbs %1
One hack I have seen is to use the ping command to attempt... .
|
|
How to I run a command in a shell script auto prompting yes to prompt to the use, so I can automate a script?
Started by Daniel on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
If by "commands" you mean the built in cmd/dos functions like.
To automatically respond confirmation messages.
|
|
If repost po paki closed or delete po all i want is to share this to all and specially sa newbies. here i go
1) All you need is your friend's IP Address and your Command Prompt.
2) Open Notepad and write this code as it is !
@echo off
:A
Cls
echo MESSENGER...
Started by emersonbt on
, 7 posts
by 6 people.
Answer Snippets (Read the full thread at symbianize):
Messenger <user> agad lumalabas this will not work ....
Ndi ako hinahanapan ng ip address..
Kaso ndi gumagana sken..
Nakita ko na ito dati sa net..
Thanks welcome morning awesome.hehehe.nice one bro.tnx hehe..
Pwede pala yun?
try ko toh.
Galing ah..
|