Notice
Recent Posts
Recent Comments
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 29 | 30 |
| 31 |
Tags
- 나스닥
- 티스토리챌린지
- 삼성전자
- 매터
- 미국주식
- ConnectedHomeIP
- 파이썬
- homebridge
- 애플
- 스타벅스
- 홈네트워크
- RS-485
- 힐스테이트 광교산
- 해외주식
- Home Assistant
- Bestin
- 오블완
- MQTT
- matter
- esp32
- 월패드
- 배당
- 현대통신
- 엔비디아
- raspberry pi
- 취미생활
- 국내주식
- 코스피
- Python
- Apple
Archives
- Today
- Total
목록batch script (1)
YOGYUI
Get path of the batch script file %~dp0 구문을 활용하면 된다 예를 위해 C:\Test\Test1.bat 파일을 생성한 뒤 다음과 같이 스크립트 작성 @echo off set CUR_PATH=%~dp0 echo %CUR_PATH% 커맨드 라인 툴에서 실행해보자 c:\Test>test1.bat c:\Test\ c:\>c:\Test\test1.bat c:\Test\ 배치 파일(test1.bat)이 존재하는 경로임을 알 수 있다 출처: https://stackoverflow.com/questions/3827567/how-to-get-the-path-of-the-batch-script-in-windows
Software/Etc
2021. 11. 12. 09:37