@echo off
for /f "tokens=1,2 delims=: " %%i in ('time /t') do set hr=%%i%%j
;NT Ŭ¶óÀ̾ðÆ®´Â <STRONG>hr</STRONG>·Î, W95´Â null·Î ¼³Á¤µÈ´Ù.<br>
<br>
for /f "tokens= 2,3,4 delims=/- " %%i in ('date /t') do set yymmdd=%%k_%%i_%%j
;NT Ŭ¶óÀÌ¿¬Æ®´Â <STRONG>yymmdd</STRONG>·Î, W95´Â null·Î ¼³Á¤µÈ´Ù.<br>
<br>
set hereiam=%username%_%computername%_%yymmdd%_%hr%.log
;¿¹: SchulmanJ_JSI01_1997_12_08_930a.log<br>
<br>
del /q \ServerName\ShareName\%username%*.log
;ÀÌÀü ·Î±× ±â·Ï »èÁ¦<br>
<br>
@echo %UserName% last logged on computer %computername%
on %yymmdd% at %hr%\ServerName\ShareName\%hereiam%
;·Î±× »ý¼º. ÁÖÀÇ: %hereiam%¸¦ ÅëÇÑ @echo´Â ÇÑÁÙÀÌ´Ù.