IT/윈도우 일반

명령줄로 연결프로그램 변경

원창연 2022. 5. 25. 22:36

ㅁ 파일형식명 찾기 
    assoc .txt              ==> .txt형식명 찾기

ㅁ 신규 파일타입  형식명을 변경
    assoc .txt=txtfile

ㅁ 신규 파일타입명에 연결
   ftype txtfile="C:\Windows\notepad.exe" "%1" 
   ftype txtfile="C:\Program Files (x86)\IDM Computer Solutions\UltraEdit\Uedit32.exe" "%1"

 

ㅁ 파일타입명에 연결프로그램 확인 

    ftype txtfile