TIP

[Tip 공유] 가상드라이브(virtual drive) 사용 방법

tomato13 2016. 2. 3. 19:20

안녕하세요~

Dear All,

 

이미 알고 계시겠으나 혹시 모르는 분들을 위해서 공유 드립니다.

You may know it already but I share one tip below.

 

P4의 디렉토리 depth가 깊을 경우, Eclipse 혹은 Android studio 로 빌드할 때 파일을 찾을 수 없는 등 오류가 발생하는 경우가 있습니다.

Sometimes, files’ path length is too long so, there could be an error in eclipse or android studio.

 

이 경우에 아래와 같이 windows에서 virtual drive를 만들어서 Path의 길이를 단축시킬 수 있으니 참고 부탁 드립니다.

In this case, you can use a virtual drive with ‘subst’ command.

 

Example)

subst p: d:\5.AndroidL\3.perforce\DEV\Solution\Spen\SPen4.1\HWR

 

virtual drive로 이동할 경우에는 아래와 같이 cd 명령어 다음에 /d 옵션을 넣어주셔야 합니다. (이 정보는 김정림 책임님께서 알려주셨습니다.)

When moving to another drive folder with ‘cd’ command, you should use an option as ‘/d’.

cd /d p:

 

'TIP' 카테고리의 다른 글

import error: when importing parcelable class in aidl file.   (0) 2015.03.05
Debugging knowhow in visual studio  (0) 2013.12.31
How to open file.zip.001 type file?  (0) 2013.05.01
Top command usage  (0) 2010.06.11
엑셀 VLOOKUP, HLOOKUP  (0) 2010.04.21