About 78 results
Open links in new tab
  1. Windows batch files: .bat vs .cmd? - Stack Overflow

    Sep 29, 2008 · If both .bat and .cmd versions of a script (test.bat, test.cmd) are in the same folder and you run the script without the extension (test), by default the .bat version of the script will run, even …

  2. Using parameters in batch files at Windows command line

    In Windows, how do you access arguments passed when a batch file is run? For example, let's say I have a program named hello.bat. When I enter hello -a at a Windows command line, how do I let my

  3. How can I pass arguments to a batch file? - Stack Overflow

    I need to pass an ID and a password to a batch file at the time of running rather than hardcoding them into the file. Here's what the command line looks like: test.cmd admin P@55w0rd > test-lo...

  4. How can I run a program from a batch file without leaving the console ...

    May 4, 2018 · For the moment my batch file look like this: myprogram.exe param1 The program starts but the DOS Window remains open. How can I close it?

  5. Difference between .com, .exe, and .bat? - Stack Overflow

    Jan 22, 2010 · A bat (ch) file is a script that is executed by the command interpretor. A exe file is compiled binary code to be executed directly on the cpu. A com file is a relic from the past to create a …

  6. Bat file to run a .exe at the command prompt - Stack Overflow

    Oct 21, 2008 · A bat file has no structure...it is how you would type it on the command line. So just open your favourite editor..copy the line of code you want to run..and save the file as whatever.bat or …

  7. ¿Cómo ejecutar cmd con archivo .bat? - Stack Overflow en español

    Oct 17, 2017 · Buenas tardes, necesito realizar la ejecución automática de comandos en el command prompt pero algunos de esos comandos necesitan ejecutarse como adminsitrador. ¿Cuál sería el …

  8. Abrir y cerrar archivos desde archivo .bat - Stack Overflow en español

    Si por alguna razón, necesitas hacerlo con el programa que dices y solo logras abrir imágenes que se encuentran en el mismo directorio del archivo bat. Puedes probar a cambiar el directorio de trabajo …

  9. Why does "cd" on Windows Command Line not change drives?

    As on first solution there is no return to current script if this is a *.bat or *.cmd file and changing the directory and continuation of batch processing on Template.bat is successful. 4. Change directory …

  10. Ejecutar Archivo .BAT como administrador sin dar click derecho, incluir ...

    Feb 26, 2022 · Otra forma que me parece conveniente es: crear un acceso directo del .bat, luego al acceso directo le damos click derecho, propiedades, luego en opciones avanzadas y marcamos la …