180bpm
batch 에서 param으로 넘어온 경로를 쪼개기 본문
반응형
명령어 | 결과 | 설명 |
@echo %~1 | C:\SVN\Build\Android\test.apk | expands %1 removing any surrounding quotes (") |
@echo %~f1 | C:\SVN\Build\Android\test.apk | expands %1 to a fully qualified path name |
@echo %~d1 | C: | expands %1 to a drive letter only |
@echo %~p1 | \SVN\Build\Android\ | expands %1 to a path only |
@echo %~n1 | test | expands %1 to a file name only |
@echo %~x1 | .apk | expands %1 to a file extension only |
@echo %~s1 | C:\SVN\Build\Android\test.apk | expanded path contains short names only |
@echo %~a1 | --a------ | expands %1 to file attributes |
@echo %~t1 | 2016-11-29 오후 02:30 | expands %1 to date/time of file |
@echo %~z1 | 103956774 | expands %1 to size of file |
반응형
Comments