Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- webhard
- Linux
- OS(operating system)
- apm
- script
- Crack(Serial Key)
- SSH
- Windows 10
- explorer
- network
- MS Windows PE
- portable
- LiveCD(USB)
- program
- game
- Network Info(Tool)
- Update
- Backup(Restore)
- MS windows
- H/W
- UNIX
- Disk Partition
- FTP
- Programming
- javascript
- web
- 대항해시대
- calculator
- Command
- PC
Archives
- Today
- Total
<In Story>
백그라운드 모드로 실행하기 // [BAT] [VBS] [Script] [MS Windows] [Programming] 본문
Programming/Script
백그라운드 모드로 실행하기 // [BAT] [VBS] [Script] [MS Windows] [Programming]
<In Story, Hi story, History> 2015. 4. 4. 19:38@Echo off
:_ExecuteFilePath
cls
set /p ExecuteFilePath=Execute file path =
if not exist "%ExecuteFilePath%" (
cls
echo File does not exist or the path is incorrect
echo %ExecuteFilePath%
pause > NUL
goto _ExecuteFilePath
)
echo Dim WinScriptHost > "%TEMP%\ExecuteBG.vbs"
echo Set WinScriptHost = CreateObject("WScript.Shell") >> "%TEMP%\ExecuteBG.vbs"
echo WinScriptHost.Run Chr(34) ^& "%ExecuteFilePath%" ^& Chr(34), 0 >> "%TEMP%\ExecuteBG.vbs"
echo Set WinScriptHost = Nothing >> "%TEMP%\ExecuteBG.vbs"
"%TEMP%\ExecuteBG.vbs"
del /f "%TEMP%\ExecuteBG.vbs"
Run_in_background.zip