-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a batch file coordinating the activity of two other batch file. How can I make it execute the second batch file only after the first bat file finishes execution. I do not care if the first batch file executes successfully or not.
>>> More
-
as seen on Super User
- Search for 'Super User'
When I run Java from a Windows .cmd file (Vista 32-bit here), the Java command causes the batch file to stop executing additional commands.
For example, this is a simple test.cmd file:
java
java
This should cause Java to print its help message twice. However when I run it in cmd.exe, I get this:
C:\>test
C:\>java
Usage:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a Windows batch file that processes all the files in a given directory. I have 206,783 files I need to process:
for %%f in (*.xml) do call :PROCESS %%f
goto :STOP
:PROCESS
:: do something with the file
program.exe %1 > %1.new
set /a COUNTER=%COUNTER%+1
goto :EOF
:STOP
@echo %COUNTER%…
>>> More
-
as seen on Super User
- Search for 'Super User'
I've never done any scripting on Windows but now I need to write a batch file that downloads a file off the internet (amongst other things). If it was linux I would use wget.
Is there a builtin executable that will download a file to a given directory? This needs to run on XP.
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a very simple question and I've even searched here but it's for a much simpler case than what I found examples of.
I have a java program which has a simple System.in on the main function....I simply want to make a bat file which will run the java program and then enter the input stream automatically…
>>> More