Execute bat file without cmd window


















NET Framework 3. The basic syntax to use in shortcuts or similar is quite simple. There are two additional options in SilentCMD. Append the option to the end of the command.

Download SilentCMD. The following command can be used at boot or in a shortcut to run a batch file silently:. The exec and hide commands are used to execute the script and hide any console windows from opening. A desktop shortcut can be created manually or you can tell NirCMD to create a shortcut from the command line with the included commands so the silent script is ready to run.

The above will create a desktop shortcut called SilentBatch which will silently execute the MyBatchFile. On double clicking the NirCMD executable it will offer the option to copy itself to the Windows directory so you only have to use nircmd. For full information about the wealth of commands available, have a read of the full NirCMD Help file.

Download NirCMD. We also have a little tool that can launch a batch file silently. Silent Batch Launcher is designed to be simple to use and provide a slightly different option to the other tools here. Run the executable and you will be asked to browse for a batch file. An INI file containing the path to the script will then be created next to the executable.

Every time you run Silent Batch Launcher from then on it will execute the same batch file as long as the INI file is present. To run a different script, delete the INI file or hold Shift while launching the tool and it will popup the file requester. The INI file name will match the EXE file name so you can have differently named occurrences of the tool in the same folder. Any useful feedback you have about the tool is welcome.

Download Silent Batch Launcher. Note: Because this tool was created with Autoit, it does create some false positives with online virus scanners like VirusTotal. Active 1 month ago. Viewed k times. Improve this question. Alexander Abakumov Tjekkles Tjekkles 4, 8 8 gold badges 32 32 silver badges 51 51 bronze badges.

Add a comment. Active Oldest Votes. Improve this answer. Kingal 15 1 1 silver badge 7 7 bronze badges. If you're using this to run a rails server you actually don't need to type cmd.

You can just type start rails s. Use the following in your batch file: start cmd. Shannon Matthews Shannon Matthews 8, 5 5 gold badges 39 39 silver badges 70 70 bronze badges. Dan Zuzevich Dan Zuzevich 2, 2 2 gold badges 19 19 silver badges 32 32 bronze badges. This is not very easy. I guess my project is called "antiquorum. Steve Westbrook 1, 2 2 gold badges 20 20 silver badges 21 21 bronze badges.

Fer Padron Fer Padron 1 1 silver badge 3 3 bronze badges. Metro Smurf 35k 20 20 gold badges silver badges bronze badges. Chris Derry Chris Derry 41 1 1 bronze badge. Vicky Salunkhe Vicky Salunkhe 6, 3 3 gold badges 32 32 silver badges 48 48 bronze badges. I think this checks off the questions in the initial post: [x] I'm trying to open a new command window in a BAT file [x] After it opens, I'd like to execute a BAT command in the new window.

Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. What Is svchost. Best Smartwatches. Best Gaming Laptops. Best Smart Displays. Best Home Security Systems. Best External Solid State Drives. Best Portable Chargers. Best Phone Chargers. Best Wi-Fi Range Extenders. Best Oculus Quest 2 Accessories. Best iPad Air Cases. Awesome PC Accessories. Best Linux Laptops.

Best Wireless iPhone Earbuds. Best Bluetooth Trackers. Best eReaders. Best VPN. Browse All News Articles. Windows 11 Uninstall Clock.



0コメント

  • 1000 / 1000