2013-07-02 6 views
5

में बैच का उपयोग करके फ़ाइलों को पोर्टेबल डिवाइस पर कैसे स्थानांतरित कर सकता हूं मैं मोटोरोला MC67 का उपयोग कर रहा हूं (मुझे यकीन नहीं है कि यह मामला है, लेकिन यह एक पोर्टेबल डिवाइस है) और मैं वहां फ़ाइलों को स्थानांतरित करने के लिए बैच स्क्रिप्ट लिखना चाहता हूं। समस्या यह है कि मैं डिवाइस पथ को कॉल नहीं कर सकता क्योंकि यह आरोहित नहीं है और मैं इसे माउंट नहीं कर सकता। मुझे विंडोज़ जीयूआई से नहीं डिवाइस पर जाने के बारे में Google पर कुछ भी नहीं मिला। मैंने कहीं सक्रिय पढ़ा है सिंक पोर्टेबल डिवाइस से सिंक कर सकता है, लेकिन इसका मेरे लिए कोई उपयोग नहीं है। वैसे भी, मैं दोहराता हूं, मुझे अपने कंप्यूटर से फ़ाइलों को एक पोर्टेबल डिवाइस पर ले जाने के लिए एक तरीका चाहिए जो घुड़सवार नहीं है। डिवाइस माउंट करने के लिए बहुत अच्छा होगा, क्योंकि मैं तो बैच फ़ाइलमैं विंडोज 7

+0

क्या आप वास्तव में 'mount' साथ मतलब है, कृपया? – Endoro

+0

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

+0

पता करने वाली पहली बात यह है कि डिवाइस में _any_ भौतिक कनेक्शन है! यु एस बी? मेमोरी कार्ड स्वीकार करें? कोई दूसरा? – Aacini

उत्तर

8

सबसे पहले, आपको Windows Mobile Developer Power Toys डाउनलोड करने की आवश्यकता है क्योंकि इसमें cecopy उपयोगिता है, जो यह समाधान इस पर निर्भर करता है।

असल में, तुम सब करने की जरूरत है:

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

सर। क्या आपको लगता है कि ** मोटोरोला मोबाइल फोन ** डिवाइस में ** माइक्रोसॉफ्ट विंडोज मोबाइल ** ऑपरेटिंग सिस्टम हो सकता है? –

+0

@DanyBee क्षमा करें, मैं आपके प्रश्न को समझ नहीं पा रहा हूं। CECOPY विंडो मोबाइल वाले डिवाइस पर निर्भर नहीं है। "CECopy - वर्तमान में डेस्कटॉप ActiveSync से जुड़े डिवाइस पर फ़ाइलों की प्रतिलिपि बनाने के लिए कमांड लाइन उपकरण।" जो स्पष्ट रूप से पूछताछ की जरूरत है। – Gray

+0

उपरोक्त माइक्रोसॉफ्ट लिंक मर चुका है (http://www.microsoft.com/en-us/download/details.aspx?id=10601)। अगस्त 2016 तक, मैं एक विश्वसनीय स्रोत से सेकोपी उपकरण नहीं ढूंढ पा रहा हूं। मैंने https://www.google.com/webhp?q=%22cecopy%22+mtp&tbs=qdr:y – davidmneedham

3

खैर से पहुंच सकते हैं एक तरह से, आप डिवाइस से प्रति नहीं माउंट कर सकते हैं, लेकिन आप Windows Portable Devices एपीआई के माध्यम से पहुँच सकते हैं। कुछ एप्लिकेशन नमूने here हैं, लेकिन वे सी ++ में हैं। scripting interface है, लेकिन ऐसा लगता है कि यह डिवाइस चरण अनुभव तक ही सीमित है, और वास्तव में, पावरहेल कहने से उपलब्ध नहीं है।

2

कुल कमांडर डिवाइस समझते हैं और इसके माध्यम से फ़ाइलें स्थानांतरित करने के लिए इस्तेमाल किया जा सकता है, और progrematicly इस्तेमाल किया जा