2013-07-02 3 views
5

Motorola MC67을 사용하고 있습니다 (문제는 아니지만 휴대용 장치 임). 파일을 옮기는 배치 스크립트를 작성하고 싶습니다. 문제는 마운트되지 않았기 때문에 장치 경로를 호출 할 수 없다는 것과 마운트 할 수 없다는 것입니다. Windows GUI가 아닌 장치를 사용하는 것에 대해 Google에서 아무 것도 찾을 수 없습니다. 나는 어딘가에 휴대용 장치에서 동기화 할 수있는 activeSync를 읽었지 만 그게 나에게 쓸모가 없어. 어쨌든 , 반복합니다. 내 컴퓨터에서 파일이 마운트되지 않은 휴대용 장치로 이동하는 방법이 필요합니다. 내가 다음 배치 파일windows7의 배치를 사용하여 휴대용 장치로 파일을 이동하는 방법

+0

progrematicly 사용할 수? – Endoro

+0

http://windows.microsoft.com/en-sg/windows-vista/mount-or-dismount-a-drive –

+0

알아야 할 첫 번째 사실은 기기에 물리적 연결이 있는지 여부입니다. USB? 메모리 카드를 수락 하시겠습니까? 다른 건요? – Aacini

답변

8

먼저이 솔루션에 의존하는 cecopy 유틸리티가 포함되어 있으므로 Windows Mobile Developer Power Toys을 다운로드해야합니다.

기본적으로, 당신이 할 필요가있다 :

cecopy file.exe dev:\file.exe 

여기 cecopy에 대한 추가 정보입니다.

INSTRUCTIONS: 
Usage: CeCopy [options] <Source_FileSpec> <Destination> 

Options: 

    /is     Copy file even if identical. 
    /s     Include subdirectories, hierarchy reproduced on device. 

Arguments: 

    Source_FileSpec  File specification denoting the source of the copy. 
    Destination   Where files should be copied to. 

For the source, wild cards or directory names may be specified, as may be single files. The destination can be either a directory or a file name, depending on the type of source specified. 

By default, an argument is assumed to live on a local file system. To indicate that either argument denotes a location on a device connected via ActiveSync, prepend 'dev:' to that argument. To articulate that a local file system is referenced, prepend 'desk:' to the argument. 

Examples: 
"cecopy readme.txt dev:\readme.txt" copies this readme to the device's root. 
"cecopy /s *.* dev:\" copies all files and subfolders of current directory to device's root. Generates new folders on device as needed. 
"cecopy /s *.dll dev:\windows" copies all dlls and dlls in subfolders of current directory to the device's root. Generates new folders on device as needed. 
+0

선생님. ** Motorola Mobile Phone ** 장치에는 Microsoft Windows Mobile ** 운영 체제가있을 것 같습니까? –

+0

@DanyBee 죄송합니다, 질문을 이해하지 못합니다. CECOPY는 Window Mobile이 설치된 장치에 의존하지 않습니다. "CECopy - 현재 데스크톱 ActiveSync에 연결된 장치에 파일을 복사하기위한 명령 줄 도구" 그것은 분명히 구한 사람이 필요로하는 것입니다. – Gray

+0

위의 Microsoft 링크가 작동하지 않습니다 (http://www.microsoft.com/en-us/download/details.aspx?id=10601). 2016 년 8 월부터 신뢰할 수있는 소스에서 Cecopy 도구를 찾을 수 없습니다. 나는 https://www.google.com/webhp?q=%22cecopy%22+mtp&tbs=qdr:y – davidmneedham

3

음에서 액세스 할 수 있기 때문에, 너무 좋은 것 장치를 장착 할 수있는 방법, 당신은 그 자체 장치 장착 할 수는 없지만 Windows Portable Devices API를 통해 액세스 할 수 있습니다. 일부 응용 프로그램 샘플은 here이지만 C++입니다. scripting interface이 있지만 장치 단계의 경험에 국한된 것으로 보이며 실제로 Powershell에서 사용할 수있는 것 같지 않습니다.

2

총 사령관, 제발 장치를 인식하고 그것을 통해 파일을 전송하는 데 사용 할 수 있으며, 정확히 mount``무엇을 의미합니까

관련 문제