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 | 29 | 30 |
Tags
- resource
- Windows
- plugin
- maVen
- GIT
- web.xml
- profile
- import
- find
- 네트워크
- IntelliJ
- grep
- Source
- port
- 줄바꿈 문자
- ssh
- Windows 10
- VirtualBox
- xargs
- netsh
- Mac
- Eclipse
- lsof
- context
- vscode
- bash
- JavaScript
- Quartz
- tomcat
- 단축키
Archives
- Today
- Total
목록OS & Shell/Windows (11)
develog
[cmd] backup.bat
@echo offecho ----------------------------------------------------------- set date2=%date%set time2=%time%set time2=%time2:~0,2%%time2:~3,2%%time2:~6,2%set now=%date2% %time2%set dir=%now%mkdir "%dir%" set baseDir=C:\aa\bb\set dstDir="C:\cc\dd ee\" echo baseDir = %baseDir%echo dstDir = %dstDir% ::--------------------------------------------------------------call :copyAll %baseDir% %dstDir% %base..
OS & Shell/Windows
2014. 12. 3. 11:55
[cmd] 함수 선언, 실행
@echo off ::함수 실행call :myFunc 11 22call :myFunc 33 44 goto :EOF ::함수 선언:myFuncsetlocalset _val1=%1set _val2=%2echo %_val1% %_val2%endlocal
OS & Shell/Windows
2014. 12. 3. 11:12
[cmd] array loop
@echo off set dir1=eeset dir2=bbset dir3=ccset list=(%dir1% %dir2% %dir3%) for %%i in %list% do ( echo %%i)
OS & Shell/Windows
2014. 12. 3. 10:48
[cmd] 폴더 copy
xcopy /e srcDir\*.* dstDir
OS & Shell/Windows
2014. 12. 3. 10:42
[cmd] 주석
echo aa::echo bb
OS & Shell/Windows
2014. 12. 3. 10:26