±×·ìÀ¸·ÎºÎÅÍ ¿©·¯ »ç¿ëÀÚ »èÁ¦Çϱâ
°Ô½ÃÀÏ: 2002/01/04 | ±Û¾´ÀÌ: doa | 6232 ¹ø | ÇÁ¸°Æ® | ¸ÞÀÏ


ÇÊÀÚ´Â ÀÌ ÀÛ¾÷À» ÇϱâÀ§ÇØ ¹èÄ¡ÆÄÀÏÀ» »ç¿ëÇÑ´Ù. ´ÙÀ½°ú °°Àº Çü½ÄÀÇ Ç׸ñÀ» Æ÷ÇÔÇÏ´Â ÅؽºÆ® ÆÄÀÏÀ» »ý¼ºÇÑ´Ù.

GroupType,Group Name,User Name


¿©±â¼­ Group TypeÀº µµ¸ÞÀÎ Àü¿ª ±×·ìÀÇ °æ¿ì G, ¿÷½ºÅ×ÀÌ¼Ç ·ÎÄ® ±×·ìÀÇ °æ¿ì W, µµ¸ÞÀÎ ·ÎÄ® ±×·ìÀÇ °æ¿ì LÀÌ´Ù.

°æ·Î³»¿¡ ´ÙÀ½°ú °°Àº µÎ°³ÀÇ ¹èÄ¡ ÆÄÀÏÀ» »ý¼ºÇÑ´Ù.

DELFROMG.BAT

@echo off
del /q %2
for /f  "tokens=1-3 delims=," %%i in ('type %1') do call DELUSRG %%i "%%j" "%%k" %2  2&1
exit


DELUSRG.BAT
@echo off
if %2=="" goto err
if %3=="" goto err
if /i "%1"=="g" goto dgg
if /i "%1"=="l" goto dlg
if /i "%1"=="w" goto wlg
:err
@echo Error:%1,%2,%3
goto end
:dgg 
@ECHO ON
net group %2 %3 /DELETE /DOMAIN
@ECHO OFF
goto end
:dlg
@ECHO ON
net localgroup %2 %3 /DELETE /DOMAIN
@ECHO OFF
goto end
:wlg
@ECHO ON
net localgroup %2 %3 /DELETE
@ECHO OFF
:end


ÀÌ ¹èÄ¡ÆÄÀÏÀ» ½ÇÇàÇϱâÀ§ÇØ ÅؽºÆ® ÆÄÀÏ¿¡ ÇÊ¿äÇѸ¸Å­ ¸¹Àº Ç׸ñÀ» »ý¼ºÇÏ°í DELFROMG¸¦ È£ÃâÇß´Ù.

DELFROMG "\folder\textfile.txt" "\Directory\logfile.log"


DOE(Department Of Energy) - º¸¾È Á¤º¸ ÀÚ¿ø DOE - CIAC »çÀÌÆ®´Â ÄÄÇ»ÅÍ¿¡´ëÇÑ ´Ù¾ç... (4660) 2002-01-04
´Ù·®ÀÇ I/O ÀÛ¾÷½Ã ½Ã½ºÅÛ Áö¿¬ ´ÙÁß º¹»ç¿Í °°Àº ´Ù·®ÀÇ I/O µ¿ÀÛÀ» ¼öÇàÇÏ´Â µ¿¾È ½Ã... (4779)2002-01-04

QAOS.com¿¡ °Ô½ÃµÈÁö 1³â ÀÌ»óµÈ ÀÚ·á¿Í °ü¸®ÀÚ°¡ °ø°³ÇÑ ÀÚ·á´Â ´©±¸³ª Á¦ÇѾøÀÌ ÀÐÀ» ¼ö ÀÖ½À´Ï´Ù.
±×·¯³ª QAOS.comÀÇ ÀڷḦ ÆÛ°¡´Â °ÍÀº ±ÝÁöÇÏ°í ÀÖ½À´Ï´Ù.

ÀÌ Á¤º¸°¡ À¯¿ëÇÏ´Ù°í »ý°¢µÇ½Ã¸é QAOS.com°ú ¸¹Àº ´Ù¸¥ »ç¶÷µéÀ» À§ÇØ ÆÛ°¡±â º¸´Ù´Â ¸µÅ©·Î ¾Ë·ÁÁֽñ⠹ٶø´Ï´Ù.

¼¼»ó»ç´Â À̾߱â



RSS ±¸µ¶ (À͸í | ȸ¿ø | °­Á | Æ÷·³)
(C) 1996 ~ 2017 QAOS.com All rights reserved.