Linked Questions

890 votes
18 answers
1.2m views

I'm trying to get my commit-build.bat to execute other .BAT files as part of our build process. Content of commit-build.bat: "msbuild.bat" "unit-tests.bat" "deploy.bat" This seems simple enough, but ...
user avatar
38 votes
3 answers
27k views

I understand how to call nested batch files from within a parent file using the call command, as there are plenty of resources on that: CALL CALL (SS64) Bat file termination However, I don't ...
Brandon Amos's user avatar
2 votes
2 answers
6k views

When I copy/paste the lines below into a cmd window it executes without a problem. "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat" msbuild proj\projsln /p:Configuration=...
user avatar
3 votes
2 answers
3k views

I have the following bat script: @echo off set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_32 set JRE_HOME=C:\Program Files\Java\jdk1.6.0_32\jre set Path=%JAVA_HOME%\bin;%Path% cd C:\project mvn ...
odiszapc's user avatar
  • 4,117
3 votes
3 answers
997 views

I'm new to batch, but I figured out it would be a good way to compile the .less files for my website into .css before deploying it. Unfortunately, after I use a for loop in a batch file to find all ...
James J's user avatar
  • 53
3 votes
1 answer
977 views

I am fairly new to Amazon Cloud Auto Scaling (and AWS all together). I am currently trying to write a .bat script that will automatically create a launch configuration and then an auto scaler. The ...
miss.serena's user avatar
  • 1,180
1 vote
1 answer
2k views

I'm installing Bugzilla on Windows, and checksetup.pl asked me to install a bunch of modules by running ppm (Perl Package Manager) commands like so: C:\>ppm install TimeDate This runs correctly, ...
Excrubulent's user avatar
2 votes
4 answers
812 views

I am trying to write a .bat file that executes a few SCons commands, but I found that once the first executes, the bash closes without executing the others. So I made a sub-routine and use the CALL ...
Zylann's user avatar
  • 103
0 votes
1 answer
285 views

I have a simple command script which looks like this: webpack --config dev.webpack.config.js consoleapp.exe param1 param2 I'm running it via Visual Studio (2019, Community) Task Runner. I can see ...
glosrob's user avatar
  • 6,745
0 votes
2 answers
108 views

Originally did not have call in front of the command and the command window would not close, but read on the forum where that might make it work. Now the command window closes, but it doesn't copy the ...
John L's user avatar
  • 3