[Windows10]callコマンドでexeファイルを実行するサンプル

2021年1月7日

書式
call exeファイル名
使用例
フェイル名 test.bat
サンプルコード

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
@echo off
rem 電卓起動
call calc.exe
rem  エクスプローラー起動
call explorer.exe
rem メモ帳起動
call notepad.exe
@echo off rem 電卓起動 call calc.exe rem  エクスプローラー起動 call explorer.exe rem メモ帳起動 call notepad.exe
@echo off

rem 電卓起動
call calc.exe

rem  エクスプローラー起動
call explorer.exe

rem メモ帳起動
call notepad.exe

 

Cmd

Posted by arkgame