About 81 results
Open links in new tab
  1. How to code a BAT file to always run as admin mode?

    Mar 23, 2017 · The answers provided by both Kerrek SB and Ed Greaves will execute the target file under the admin user but, if the file is a Command script (.bat file) or VB script (.vbs file) which …

  2. 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 …

  3. ¿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 …

  4. 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 …

  5. How do I shutdown, restart, or log off Windows via a bat file?

    Oct 30, 2018 · How do I shutdown, restart, or log off Windows via a bat file? Asked 17 years, 5 months ago Modified 1 year, 3 months ago Viewed 2.6m times

  6. 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

  7. What is the at sign (@) in a batch file and what does it do?

    Jan 13, 2014 · Apparently this is obvious for everyone but I didn't know that this only works when executed from a .bat file, i.e. it doesn't work straight from the command line.

  8. windows - What does %* mean in a batch file? - Stack Overflow

    Apr 22, 2013 · I have seen the usage of %* in batch files and command lines. Can someone explain the typical usage of %* with an example?

  9. 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 …

  10. IF, CALL, EXIT and %ERRORLEVEL% in a .bat - Stack Overflow

    Jul 21, 2014 · IF, CALL, EXIT and %ERRORLEVEL% in a .bat Ask Question Asked 11 years, 8 months ago Modified 11 years, 8 months ago