|
Can we execute a .bat file in post build event command line in visual studio?
Started by Panda on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
As well as calling a .bat file, you can enter batch commands (i.e., the normal commands available from the Windows console--cmd.exe.
Macros, you can use the Insert button to insert them into your script .
|
|
How can I call a query from a .bat file? (say my query is: select version from system).
Can my .bat file save the output that this query returns? I wanna use this output in my NSIS script.
Started by Pia on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
The sqlcmd utility lets you enter Transact-SQL.
You may want to check the sqlcmd utility.
Was posted).
|
|
Hi,
In the debug properties of my c# project I have selected Start External Program and selected the .exe of the program I wish to attach the debugger to. However, now I need to launch the program from a .bat file not the .exe but VS2005 does not seem...
Started by Adrock787 on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Myapplication.exe at the top and press tab
Select Debugger near the bottom and enter.
Files\Debugging Tools for Windows\gflags.exe
Select the image file tab
Enter the name of your exe, e.g.
|
Ask your Facebook Friends
|
As I understand it, .bat is the old 16-bit naming convention, and .cmd is for 32-bit Windows, i.e., starting with NT. But I continue to see .bat files everywhere, and they seem to work exactly the same using either suffix. Assuming that my code will never...
Started by Chris Noe on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
However, when a shortcut is used to launch....
On NT the .bat and .cmd extension both cause the cmd.exe :
There is no difference between the .bat and .cmd extensions when the file is directly executed.
No - it doesn't matter in the slightest.
|
|
I have a bat file which will delete files in some folder (Profile Folder). But i do-not have access to that folder. But another account has access to the folder. How to run a batch file from one account by login into the another account which has access...
Started by Jaison on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
Or
You could run it from a scheduled task which lets you set .
Then enter your credentials.
Or
In Windows Explorer you can right-click on the bat file and choose Run As...
Use the runas command.
|
|
Hi! I need a backup script but the executed program after executing asks Y or N for continuing. How to write a script to automatically insert Y.
for example the program acts like this c:\tool\backup.exe -b Continue Y, N?
now I would need that I create...
Started by Lauri Lüüs on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Edit: Johannes is right....
A commandline program usually has a switch for automatically answering the questions with Y (this is usually -Y) but if your program doesn't have a switch like that, I don't think you can easily accomplish what you want to do.. .
|
|
Hello,
I want to create a file named "new text document.txt" in the folder %tv% using a batch file ( *.bat ). This is my batch file:
set tv=D:\prog\arpack96\ARPACK\SRC cd "%tv%" @CON >> "new text document.txt" set tv=
Although I can really create...
Started by Ngu Soon Hui on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
In order to get a truly empty file without.
To enter the text and you can save the text by typing Ctrl Z.
|
|
I have tried with the following, but it just says "& was unexpected at this time."
@echo off :enter-input echo Please enter a number between 1 and 15: echo 1 = Selection one echo 2 = Selection two echo 4 = Selection three echo 8 = Selection four echo ...
Started by Anders on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
@echo off :enter-input echo Please enter a number between 1 and 15 = Quit set /P INPUT=Type number: if "%INPUT%" == "" goto enter-input if "%INPUT%" == "x" goto end.
I found a way of doing this.
|
|
On Fri, 14 Nov 2008 10:14:15 -0800 (PST), Paul Lambson <paullambson@gmail.com
I am trying to create a .bat file to open a .xls file. But the file is
password protected to modify. I can't figure out the code to enter the
password in the .bat file...
Started by Paul Lambson on
, 5 posts
by 3 people.
Answer Snippets (Read the full thread at omgili):
On Fri, 14 Nov 2008 11:16:04 -0800, Joel <Joel@discussions.microsoft.com
I went to microsoft website and there doesn't appearr to be a password switch
see
http://office.microsoft.com/en-us/excel/HA101580301033.aspx#4
Another solution would be... .
|
|
Master of many(3.5, warlock PRC, PEACH) oh god, the bats, the BATS
Some warlocks realy don't want to fight, they wish to lead. some then raise armies of the dead, and have their fun. But the master of many sees their numbers as pitiful. They would lead...
Started by bobthe6th on
, 7 posts
by 2 people.
Answer Snippets (Read the full thread at giantitp):
I'd throw.
Also, you can enter this class at level 3...
Swarms" as those summoned by the invocation.
|