티스토리 툴바


2010/12/30 14:06 WINDOW관련

 

배치 스크립트 모음

http://bcheul.tistory.com/156

 

배치 스크립트 경로

%~dp0관련

http://snoopybox.co.kr/970

posted by starland
2010/02/24 00:39 WINDOW관련

http://yoogs38.egloos.com/10153582

 

마치 보물을 발견한듯한 느낌^^

 

 

posted by starland
2010/01/20 13:49 WINDOW관련
hostname을 치면 컴퓨터 이름이 나옵니다.

C:\Users\Administrator>hostname
WIN-AD81A6B99H0


이 hostname을 변경하려면 netdom renamecomputer명령을 이용합니다.
C:\Users\Administrator>netdom renamecomputer WIN-AD81A6B99H0 /newname:starland2008
이 작업은 컴퓨터 이름을 WIN-AD81A6B99H0에서 starland2008(으)로
바꿉니다.

인증 기관과 같은 특정 서비스는 고정 시스템 이름을
사용합니다. 이러한 유형의 서비스가 WIN-AD81A6B99H0에서 실행 중이면
컴퓨터 이름 변경으로 인해 문제가 발생할 수 있습니다.

계속하시겠습니까(Y 또는 N)?
y
작업을 완료하려면 컴퓨터를 다시 시작해야 합니다.

명령을 완료했습니다.

C:\Users\Administrator>


아래 블로그에 2008에 쓸수 있는 명령이 잘 정리되어 있네요^^
posted by starland
2010/01/15 21:51 WINDOW관련

GOD MODE라 불리우는

제어판의 모든 설정을 할수있는 MODE가 있다고 한다.

 

출처 : http://prac.textcube.com/194

 

우선 Win7에선 God Mode라는게 있는데

이걸 만들고 안에 보면 Windows 7의 기능이 거의 300개 가량 있습니다.


방법


1. 바탕화면 마우스 오른쪽 클릭 -> 새 폴더 만들기


2. 폴더 명을 GodMode.{ED7BA470-8E54-465E-825C-99712043E01C} 로 지정



위 방법대로 하시면 GodMode 폴더가 생깁니다.


아래 사진은 Godmode 기능


posted by starland
2010/01/11 22:18 WINDOW관련

   

출처 : http://cafe.daum.net/comjoint/Ipnh/54

   

============================= 원 문 =====================================

Windows 7 원격 데스크탑 동시 접속하기| WIN 7 활 용

아스피린 조회 7 | 10.01.05 13:48 http://cafe.daum.net/comjoint/Ipnh/54

 

Windows 7으로 오면서 SQL 서버 설치 등의 많은 제약들이 없어졌지만,

많은 사람들이 원함에도 불구하고 여전히 제약으로 두고 있는 항목이 있습니다.

바로 원격 데스크탑 (Remote Desktop) 동시 접속입니다.

   

아래 사이트에서 위의 제약을 해결할 수 있는 방법을 찾게 되어서

파코즈분들과 공유하고자 올립니다.

참고로 적용 대상은 Windows 7 Ultimate 입니다.

   

http://www.missingremote.com/index.php?option=com_content&task=view&id=3692&Itemid=232

   

아래는 해당 사이트 내용을 적절하게 번역했습니다.

   

   

 

   

*** 책임의 한계 ***

   

아래 파일들과 설치법은 당신 자신의 책임하에 제공됩니다. 중요 파일을 변경하고, 어떤 일이든 일어날 수 있음을 이해하십시오. 만약 문제가 있을 때, 우리는 당신을 돕기 위한 환상적인 커뮤니티를 가지고 있습니다.

   

   

   

   

설치 방법 (주의해서 읽으세요)

   

1. 먼저, 적절한 파일을 필수적으로 받아야 합니다.

   

   

1001_083816_2KLEHHGQ11.zip

   

   

2. 다운로드 했으면, 아무 디렉터리에 압축을 해제합니다. ( 이 가이드의 목적을 위해, C:\Win7RDP 폴더에 풀렸음을 가정합니다. )

   

3. 탐색기로 상기 폴더를 엽니다.

   

4. "install.cmd"에서 오른쪽 클릭을 통해 "관리자 권한으로 실행"을 선택합니다.

   

5. 전체 스크립트가 실행되도록 기다립니다. 최종적으로 아래와 같은 화면을 보실 수 있습니다.

   

   

   

 만약 성공적으로 수행되면, 이 화면을 보실 수 있습니다.

   

추가 기능들

대부분의 99.9%에게, 위 과정은 보신거와 동일하게 됩니다. 그러나 기능을 조금 다르게 커스터마이즈하기 원하신다면, 추가적으로 실행할 수 있는 특정 문자열이 있습니다. 명령 프롬프트를 관리자 권한으로 열 필요가 있습니다. (시작 > 실행 > CMD > 우 클릭 "관리자 권한으로 실행") 다른 기능 옵션은 아래와 같습니다:

    -?          이 도움말을 보여줍니다.

    help      -?와 같습니다.
    multi     사용자 당 멀티 세션을 가능하게 합니다.
    blank     암호로 보호되지 않은 계정에 대해 원격 접속을 허용합니다.

 

예를들어, 사용자 당 멀티 세션을 가능하게 하려면 다음 과정을 따릅니다:

    1. 명령 프롬프트를 관리자 권한으로 실행합니다. (시작 > 실행 > CMD > 우 클릭 "관리자 권한으로 실행")

   

    2. C:\Windows\System32> 에서 다음을 입력합니다. "cd \Win7RDP"

   

    3. 이제 명령창이 다음 모습 일 것입니다. C:\Win7RDP>

   

    4. 명령창에 다음을 입력합니다. type: install multi

 

이제 서버 OS처럼 원격 데스크탑 다중 접속을 하실 수 있습니다.

 
 

posted by starland
2010/01/11 16:48 WINDOW관련

출처 : Bat To Exe Converter - 배치파일을 exe로 변환해주는 툴 by snoopy


 

 

홈페이지

http://www.f2ko.de/English/b2e/index.php

 

다운로드

http://www.f2ko.de/downloads/Bat_To_Exe_Converter.zip

 

 

BAT나 CMD 스크립트를 EXE로 컴파일 해주는 프로그램입니다.

비슷한 다른 프로그램중에 Quick Batch File Compiler 라는 녀석도 있는데 데모버전은 잡 문구가 들어갑니다.

반면에 이 툴은 제약 없는 프리웨어입니다.

 

컴파일한 파일 백신 오진도 거의 없더군요.

 

http://virscan.org/report/d09add05c7bef67f2da3c31d6aba70d5.html

 

그리고 아이콘 파일도 지정해주시면 예쁘게 입힐 수 있습니다.

 

※ Bat To Exe Converter 는 복잡한 스크립트에 약한 것 같습니다. 복잡한 스크립트는 Quick Batch File Compiler를 이용해주세요.


posted by starland
2010/01/11 16:46 WINDOW관련


An A-Z Index of the Windows XP command line

   ADDUSERS Add or list users to/from a CSV file
   ARP      Address Resolution Protocol
   ASSOC    Change file extension associations•
   ASSOCIAT One step file association
   ATTRIB   Change file attributes
b
   BOOTCFG  Edit Windows boot settings
   BROWSTAT Get domain, browser and PDC info
c
   CACLS    Change file permissions
   CALL     Call one batch program from another•
   CD       Change Directory - move to a specific Folder•
   CHANGE   Change Terminal Server Session properties
   CHKDSK   Check Disk - check and repair disk problems
   CHKNTFS  Check the NTFS file system
   CHOICE   Accept keyboard input to a batch file
   CIPHER   Encrypt or Decrypt files/folders
   CleanMgr Automated cleanup of Temp files, recycle bin
   CLEARMEM Clear memory leaks
   CLIP     Copy STDIN to the Windows clipboard.
   CLS      Clear the screen•
   CLUSTER  Windows Clustering
   CMD      Start a new CMD shell
   COLOR    Change colors of the CMD window•
   COMP     Compare the contents of two files or sets of files
   COMPACT  Compress files or folders on an NTFS partition
   COMPRESS Compress individual files on an NTFS partition
   CON2PRT  Connect or disconnect a Printer
   CONVERT  Convert a FAT drive to NTFS.
   COPY     Copy one or more files to another location•
   CSCcmd   Client-side caching (Offline Files)
   CSVDE    Import or Export Active Directory data 
d
   DATE     Display or set the date•
   DEFRAG   Defragment hard drive
   DEL      Delete one or more files•
   DELPROF  Delete NT user profiles
   DELTREE  Delete a folder and all subfolders
   DevCon   Device Manager Command Line Utility 
   DIR      Display a list of files and folders•
   DIRUSE   Display disk usage
   DISKCOMP Compare the contents of two floppy disks
   DISKCOPY Copy the contents of one floppy disk to another
   DISKPART Disk Administration
   DNSSTAT  DNS Statistics
   DOSKEY   Edit command line, recall commands, and create macros
   DSADD    Add user (computer, group..) to active directory
DSQUERY List items in active directory DSMOD Modify user (computer, group..) in active directory DSRM Remove items from Active Directory e ECHO Display message on screen• ENDLOCAL End localisation of environment changes in a batch file• ERASE Delete one or more files• EXIT Quit the current script/routine and set an errorlevel• EXPAND Uncompress files EXTRACT Uncompress CAB files f FC Compare two files FIND Search for a text string in a file FINDSTR Search for strings in files FOR /F Loop command: against a set of files• FOR /F Loop command: against the results of another command• FOR Loop command: all options Files, Directory, List• FORFILES Batch process multiple files FORMAT Format a disk FREEDISK Check free disk space (in bytes) FSUTIL File and Volume utilities FTP File Transfer Protocol FTYPE Display or modify file types used in file extension associations• g GLOBAL Display membership of global groups GOTO Direct a batch program to jump to a labelled line• h HELP Online Help i iCACLS Change file and folder permissions IF Conditionally perform a command• IFMEMBER Is the current user in an NT Workgroup IPCONFIG Configure IP k KILL Remove a program from memory l LABEL Edit a disk label LOCAL Display membership of local groups LOGEVENT Write text to the NT event viewer. LOGOFF Log a user off LOGTIME Log the date and time in a file m MAPISEND Send email from the command line MBSAcli Baseline Security Analyzer. MEM Display memory usage MD Create new folders• MKLINK Create a symbolic link (linkd) MODE Configure a system device MORE Display output, one screen at a time MOUNTVOL Manage a volume mount point MOVE Move files from one folder to another• MOVEUSER Move a user from one domain to another MSG Send a message MSIEXEC Microsoft Windows Installer MSINFO Windows NT diagnostics MSTSC Terminal Server Connection (Remote Desktop Protocol) MUNGE Find and Replace text within file(s) MV Copy in-use files n NET Manage network resources NETDOM Domain Manager NETSH Configure network protocols NETSVC Command-line Service Controller NBTSTAT Display networking statistics (NetBIOS over TCP/IP) NETSTAT Display networking statistics (TCP/IP) NOW Display the current Date and Time NSLOOKUP Name server lookup NTBACKUP Backup folders to tape NTRIGHTS Edit user account rights p PATH Display or set a search path for executable files• Trace route plus network latency and packet loss PAUSE Suspend processing of a batch file and display a message• PERMS Show permissions for a user PERFMON Performance Monitor PING Test a network connection POPD Restore the previous value of the current directory saved by PUSHD• PORTQRY Display the status of ports and services POWERCFG Configure power settings PRINT Print a text file PRNCNFG Display, configure or rename a printer PRNMNGR Add, delete, list printers set the default printer PROMPT Change the command prompt• PsExec Execute process remotely PsFile Show files opened remotely PsGetSid Display the SID of a computer or a user PsInfo List information about a system PsKill Kill processes by name or process ID PsList List detailed information about processes PsLoggedOn Who's logged on (locally or via resource sharing) PsLogList Event log records PsPasswd Change account password PsService View and control services PsShutdown Shutdown or reboot a computer PsSuspend Suspend processes PUSHD Save and then change the current directory• q QGREP Search file(s) for lines that match a given pattern. r RASDIAL Manage RAS connections RASPHONE Manage RAS connections RECOVER Recover a damaged file from a defective disk. REG Registry: Read, Set, Export, Delete keys and values REGEDIT Import or export registry settings REGSVR32 Register or unregister a DLL REGINI Change Registry Permissions REM Record comments (remarks) in a batch file• REN Rename a file or files• REPLACE Replace or update one file with another RD Delete folder(s)• RMTSHARE Share a folder or a printer ROBOCOPY Robust File and Folder Copy ROUTE Manipulate network routing tables RUNAS Execute a program under a different user account RUNDLL32 Run a DLL command (add/remove print connections) s SC Service Control SCHTASKS Schedule a command to run at a specific time SCLIST Display NT Services SET Display, set, or remove environment variables• SETLOCAL Control the visibility of environment variables• SETX Set environment variables permanently SHARE List or edit a file share or print share SHIFT Shift the position of replaceable parameters in a batch file• SHORTCUT Create a windows shortcut (.LNK file) SHOWGRPS List the NT Workgroups a user has joined SHOWMBRS List the Users who are members of a Workgroup SHUTDOWN Shutdown the computer SLEEP Wait for x seconds SLMGR Software Licensing Management (Vista/2008) SOON Schedule a command to run in the near future SORT Sort input START Start a program or command in a separate window• SU Switch User SUBINACL Edit file and folder Permissions, Ownership and Domain SUBST Associate a path with a drive letter SYSTEMINFO List system configuration t TASKLIST List running applications and services TASKKILL Remove a running process from memory TIME Display or set the system time• TIMEOUT Delay processing of a batch file TITLE Set the window title for a CMD.EXE session• TLIST Task list with full path TOUCH Change file timestamps TRACERT Trace route to a remote host TREE Graphical display of folder structure TYPE Display the contents of a text file• u USRSTAT List domain usernames and last login v VER Display version information• VERIFY Verify that files have been saved• VOL Display a disk label• w WHERE Locate and display files in a directory tree WHOAMI Output the current UserName and domain WINDIFF Compare the contents of two files or sets of files WINMSD Windows system diagnostics WINMSDP Windows system diagnostics II WMIC WMI Commands x XCACLS Change file and folder permissions XCOPY Copy files and folders :: Comment / Remark•
 
자료 : http://ss64.com/nt/
posted by starland
2010/01/11 16:45 WINDOW관련


<PARAM NAME="Run" VALUE="%windir%\notepad.exe">
<PARAM NAME="RunParms" VALUE="%desktop%\sales.txt">
<PARAM NAME="DefDir" VALUE="%mydocuments%">

  Example - explore Internet Explorer's cache:

<PARAM NAME="Run" VALUE="%windir%\explorer.exe">
<PARAM NAME="RunParms" VALUE="%internet_cache%">


VariableDescription
%yourvariable%Custom Variable
Any variable seen by the shell. IntraLaunch 4.8 and higher required. Can only be used withGetVariable().
%windir%Windows directory
Eg. C:\WINNT
%sysdir%Windows system folder
Eg. C:\WINNT\SYSTEM32
%program_files%Program Files directory
Eg. C:\Program Files
%program_files_common%Program Files\Common Files
Eg. C:\Program Files\Common Files
%desktop%Desktop folder
Eg. C:\Documents and Settings\Administrator\Desktop
%startmenu%Start Menu folder
Eg. C:\Documents and Settings\Administrator\Start Menu
%startmenu_programs%Start Menu - Programs folder
Eg. C:\Documents and Settings\Administrator\Start Menu\Programs
%startmenu_startup%Start Menu - Startup folder
Eg. C:\Documents and Settings\Administrator\Start Menu\Programs\Startup
%mydocuments%My Documents folder
Eg. C:\Documents and Settings\Administrator\My Documents
%favorites%Favorites folder
Eg. C:\Documents and Settings\Administrator\Favorites
%recent%Recently used folder
Eg. C:\Documents and Settings\Administrator\Recent
%sendto%SendTo folder
Eg. C:\Documents and Settings\Administrator\SendTo
%user_desktop%Desktop folder
Eg. C:\Documents and Settings\Administrator\Desktop
%fonts%Fonts folder
Eg. C:\WINNT\Fonts
%templates%Templates folder
Eg. C:\Documents and Settings\Administrator\Templates
%common_startmenu%Common Start Menu folder
Eg. C:\Documents and Settings\All Users\Start Menu
%common_startmenu_programs%Common Start Menu - Programs
Eg. C:\Documents and Settings\All Users\Start Menu\Programs
%common_startmenu_startup%Common Start Menu - Startup
Eg. C:\Documents and Settings\All Users\Start Menu\Programs\Startup
%common_desktop%Common desktop folder
Eg. C:\Documents and Settings\All Users\Desktop
%appdata%Application Data folder
Eg. C:\Documents and Settings\Administrator\Application Data
%internet_cache%IE cache folder
Eg. C:\Documents and Settings\Administrator\Local Settings\Temporary Internet Files
%cookies%IE Cookies folder
Eg. C:\Documents and Settings\Administrator\Cookies
%history%History folder
Eg. C:\Documents and Settings\Administrator\Local Settings\History
%mypictures%My Pictures folder
Eg. C:\Documents and Settings\Administrator\My Documents\My Pictures
%profile%Users profile root folder
Eg. C:\Documents and Settings\Administrator
%nethood%Network neighborhood
Eg. C:\Documents and Settings\Administrator\NetHood
%common_templates%Common templates folder
Eg. C:\Documents and Settings\All Users\Templates
%common_documents%Common documents folder
Eg. C:\Documents and Settings\All Users\Documents
%username% *Username of user logged in
Eg. Administrator
%userdomain% *Domain user is currently part of
Eg. DOMAINNAME
%tmpfolder% *Path to TMP folder
Eg. C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
%tempfolder% *Path to TEMP folder
Eg. C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp
%systemdrive% *Drive letter of system drive
Eg. C:
%os% *Name of operating system in use
Eg. Windows_NT
%homepath% *Typicall path to root
Eg. \
%homedrive% *Path home drive is on
Eg. C:
%comspec% *Full path to command interperter
Eg. C:\WINNT\system32\cmd.exe
%computername% *Name of workstation
Eg. COMPUTERNAME
  • These new variables are obtained from the workstation's shell. Opening a command prompt and doing a "set" command will show them under WindowsNT and higher. These variables must be explicitly set under Windows95/98/ME in autoexec.bat.
posted by starland
2009/12/24 11:14 WINDOW관련

Window7에서 작업표시줄에 표시되는 시간 설정을
24시간제로 변경하고 싶다면 어떻게 해야 할까?
(기본(12시간제) : 12시간제, 오후 4:14
         24시간제  : 16:14                    )

시작 -> 제어판 -> 국가 및 언어 설정에서 이를 변경해 줄수 있다.
(실행 -> intl.cpl 입력후 엔터)
※ XP, VISTA에서도 동일 명령으로 메뉴에 접근하여 수정하면 된다.

제어판에서 찾아가기 귀찮으면 실행창에 intl.cpl 입력후 엔터!

좀더 자세한 설정을 하고싶다면, 추가설정 버튼을 눌러 상세 설정을 할 수 있다.

posted by starland
2009/12/01 09:00 WINDOW관련
시작 -> 실행 (Win + R)

compmgmt.msc : 컴퓨터 관리와 관련 시스템 도구 창을 연다
diskmgmt.msc 디스크 관리
eventvwr.msc : 윈도우즈 메시지가 담긴 이벤트를 본다.
gpedit.msc 도메인 또는 액티브 디렉토리나 pc에 저장되어있는 조직 단위에 연결된 그룹 정책 개체를 편집하는 '로컬 컴퓨터 정책'을 연다.
perfmon.msc 시스템 성능을 감시하고 로그와 경고를 기록한다.
secpol.msc 로컬 보안설정을 열어 도메인의 pc 보안정책을 정의하게 도와준다.
devmgmt.msc 하드웨어 장치 목록을 보고 각 장치에 대한 특성을 정하는 '장치관리자' 창을 연다.
dfrg.msc '디스크 조각모음'창을 연다.
fsmgmt.msc 공유폴더를 띄운다.
lusrmgr.msc 로컬 이용자를 확인한다.
rsop.msc 정책의 결과 집합 창을 연다.
services.msc 서비스 창을 띄운다.
posted by starland