윈도우사용
분류

파워쉘 ISO 마운트 배

작성자 정보

  • 최고관리자 작성
  • 작성일

컨텐츠 정보

본문

파워쉘을 실행하여 다음 명령으로 H드라이브의 SPSS ISO이미지를 마운트한다. 임의의 드라이브명으로 마운트된다.


DisMount-DiskImage -ImagePath H:\SPSS27_for_Windows.iso


배치파일을 이용하여 특정 드라이브로 마운트하기


https://confusedbird.com/thread-83.html

아래는 R다음인 S 드라이브로 마운트된다. P로 마운트하고자 한다면, O 까지 적어주면된다.


단, 해당 드라이브가 사용중이어서는 안된다.


@echo off


for %%f in (D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R) do subst %%f: c:\ >nul

powershell -command Mount-DiskImage -ImagePath 'H:\SPSS27_for_Windows.iso'

for %%f in (D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R) do subst %%f: /d >nul


아래방법도 있는데 위가 더 쉬운것 같다.


https://serverfault.com/questions/968495/how-can-an-iso-image-be-mounted-to-a-specified-drive-letter-in-powershell/968496#968496

관련자료

댓글 0
등록된 댓글이 없습니다.

최근글


새댓글


  • 댓글이 없습니다.