A Script to read and copy from a Windows Mobile device

Hey forum....
When I dock my Windows Mobile device in a Windows 7 PC, the Windows Mobile Device Center opens and I can browse the device and copy files between it and the PC. However, I'm looking some kind of way to automate this process. All I'm really interested in
is a single file named TEXT.TXT which is stored in the My Documents folder. Basically, I'm looking for a script that will detect the Windows device (it's USB-attached) when docked, find the file TEXT.TXT in the My Documents folder and then copy this file to
the /Temp folder on the desktop.
I've tried using the synchronization feature of WMDC but it copies the file to a documents folder set up for the specific device. Instead, I'm looking to find and copy the file to C:\TEMP regardless of the device.
Thanks in advance for any help!
Everett

Hey forum....
When I dock my Windows Mobile device in a Windows 7 PC, the Windows Mobile Device Center opens and I can browse the device and copy files between it and the PC. However, I'm looking some kind of way to automate this process. All I'm really interested in
is a single file named TEXT.TXT which is stored in the My Documents folder. Basically, I'm looking for a script that will detect the Windows device (it's USB-attached) when docked, find the file TEXT.TXT in the My Documents folder and then copy this file to
the /Temp folder on the desktop.
I've tried using the synchronization feature of WMDC but it copies the file to a documents folder set up for the specific device. Instead, I'm looking to find and copy the file to C:\TEMP regardless of the device.
Thanks in advance for any help!
Everett
Just configure the device to sync the folders you want to sync.  Start by reading the help very carefully.
This is not a scripting question and this forum is not for end user questions.   I suggest posting in the Windows Phone forum.
You can also sync via OneDrive over a cellular or wireless connection.
¯\_(ツ)_/¯

Similar Messages

  • How can i format an external drive so as to read and write from both windows and mac side

    i recently bought a macbook pro and used bootcamp so as to be able to run win7 and mac. I now wish to have an external drive so as to backup and tranfer files between the two os's. Specifically to read and write form either windows or mac. How can I do this?              

    Format it as FAT.

  • Uploading data from a windows mobile device to a server using GPRS

    I want to upload data from a java application in pda (a Windows Mobile 6.1 device) to a server using a GPRS connection.My application uses a IBM weme VM.
    I want to know whether I can do this in Java itself,because otherwise I would have to resort to some C++ methods(that uses the connection manager api) and call that using jni. But if there is some java method for this,it would have been helpful and straightforward..
    Can I do this using socket connection in java? if so, Would somebody provide a code snippet ?Which port to connect to in that case?
    Plz let me know about this.
    Thanks in advance.
    Edited by: shreya_ann on Sep 23, 2010 4:44 AM

    Hey forum....
    When I dock my Windows Mobile device in a Windows 7 PC, the Windows Mobile Device Center opens and I can browse the device and copy files between it and the PC. However, I'm looking some kind of way to automate this process. All I'm really interested in
    is a single file named TEXT.TXT which is stored in the My Documents folder. Basically, I'm looking for a script that will detect the Windows device (it's USB-attached) when docked, find the file TEXT.TXT in the My Documents folder and then copy this file to
    the /Temp folder on the desktop.
    I've tried using the synchronization feature of WMDC but it copies the file to a documents folder set up for the specific device. Instead, I'm looking to find and copy the file to C:\TEMP regardless of the device.
    Thanks in advance for any help!
    Everett
    Just configure the device to sync the folders you want to sync.  Start by reading the help very carefully.
    This is not a scripting question and this forum is not for end user questions.   I suggest posting in the Windows Phone forum.
    You can also sync via OneDrive over a cellular or wireless connection.
    ¯\_(ツ)_/¯

  • XQUERY / XMLTABLE Syntax to read and XML from a Windows local drive?

    Hi,
    Would someone post an example of the syntax to read a text file containing XML from the local Windows disk drive using xquery/xmltable syntax?
    Thanks,
    Victor

    Does the following help...
    SQL> conn test/test
    Connected.
    SQL> -- The test user has the DBA role...
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    5 rows selected.
    /* The content of the data.xml file.
    <?xml version="1.0" encoding="UTF-8"?>
    <ROOT>
      <ID>0</ID>
      <INFO>
        <INFO_ID>0</INFO_ID>
        <INFO_CONTENT>Text</INFO_CONTENT>
      </INFO>
    </ROOT>
    SQL> drop directory  xmlstore;
    Directory dropped.
    SQL> -- the directory is on a Windows system...
    SQL> create directory xmlstore as 'E:\temp';
    Directory created.
    SQL> create table test
      2  (xmldata xmltype);
    Table created.
    SQL> INSERT into test
      2  VALUES
      3  (XMLTYPE(bfilename('XMLSTORE','data.xml'),NLS_CHARSET_ID('AL32UTF8')));
    1 row created.
    SQL> set long 100000000
    SQL> select * from test;
    XMLDATA
    <?xml version="1.0" encoding="UTF-8"?>
    <ROOT>
      <ID>0</ID>
      <INFO>
        <INFO_ID>0</INFO_ID>
        <INFO_CONTENT>Text</INFO_CONTENT>
      </INFO>
    </ROOT>
    1 row selected.
    SQL> select XMLTYPE('<ROOT><ID>0</ID><INFO><INFO_ID>0</INFO_ID><INFO_CONTENT>Text</INFO_CONTENT></INFO></ROOT>') as "XDATA"
      2  from dual;
    XDATA
    <ROOT><ID>0</ID><INFO><INFO_ID>0</INFO_ID><INFO_CONTENT>Text</INFO_CONTENT></INFO></ROOT>
    1 row selected.
    SQL> select XMLTYPE(bfilename('XMLSTORE','data.xml'),NLS_CHARSET_ID('AL32UTF8')) as "XDATA"
      2  from dual;
    ERROR:
    ORA-21500: internal error code, arguments: [%s], [%s], [%s], [%s], [%s], [%s], [%s], [%s]
    no rows selected
    SQL> select extract((XMLTYPE(bfilename('XMLSTORE','data.xml'),NLS_CHARSET_ID('AL32UTF8'))),'*') as "XDATA"
      2  from dual;
    XDATA
    <ROOT><ID>0</ID><INFO><INFO_ID>0</INFO_ID><INFO_CONTENT>Text</INFO_CONTENT></INFO></ROOT>
    1 row selected.
    SQL> select xdata
      2  from (XMLTABLE('*'
      3                 PASSING (XMLTYPE(bfilename('XMLSTORE','data.xml'),NLS_CHARSET_ID('AL32UTF8')))
      4                 COLUMNS xdata xmltype PATH '/*'
      5                )
      6       )
      7  ;
    XDATA
    <ROOT><ID>0</ID><INFO><INFO_ID>0</INFO_ID><INFO_CONTENT>Text</INFO_CONTENT></INFO></ROOT>
    1 row selected.

  • I have tried and failed to copy my iTunes library and playlists from my Windows 8 desktop to my Windows 7 laptop using an external hard drive. Can it be done? Help would be appreciated.

    I have tried and failed to copy my iTunes library and playlists from my Windows 8 desktop to my Windows 7 laptop using an external hard drive. Can it be done? Help would be appreciated. I have followed instructions found online but the library of music doesn't pull in.  Thanks!
    Nate

    Migrate an iTunes library from one computer to another
    These are two possible approaches that will normally work to move an existing library to a new computer.
    Method 1
    Backup the library with this User Tip.
    Deauthorize the old computer if you no longer want to access protected content on it.
    Restore the backup to your new computer using the same tool used to back it up.
    Keep your backup up-to-date in future.
    Method 2
    Connect the two computers to the same network. Share your <User's Music> folder from the old computer and copy the entireiTunes library folder into the <User's Music> folder on the new one. Again, deauthorize the old computer if no longer required.
    Both methods should give the new computer a working clone of the library that was on the old one, with ratings, play counts, playlists etc. preserved. As far as iTunes is concerned this is still the "home" library for your devices so you shouldn't have any issues with iTunes wanting to erase and reload.
    I'd normally recommend method 1 since it establishes an ongoing backup for your library and unlike copying with Windows Explorer the process can be resumed if it is interrupted and it will continue to the next item if there are any read/access errors.
    Note if you have iOS devices and haven't moved your contacts and calendar items across then you should create one dummy entry of each in your new profile and iTunes should  merge the existing data from the device.
    If your media folder has been split out from the main iTunes folder you may need to do some preparatory work to make it easier to move. See Make a split library portable.
    Should you be in the unfortunate position where you are no longer able to access your original library or a backup then then seeRecover your iTunes library from your iPod or iOS device for advice on how to set up your devices with a new library with the maximum preservation of data.
    tt2

  • Problem on reading and writing from from a *.txt file

    I get Problem on reading and writing from from a *.txt file. The following is the read() method...
    The software said the DataInputStream is depreciated. Can anyone help me please?
    public void read()
        File file = new File("C://Documents and Settings//Charles//My Documents//Brunel//EE2065//Assignment and Lab//Assignment 4 and Lab 4//data.txt");
        FileInputStream in = null;
        String str = "";
        try
          in = new BufferedReader(file);
          //in = new FileInputStream(file);
          for(;;)
            str = new BufferedReader(in).readLine();
            //str = new DataInputStream(in).readLine();
            if(str == null)
              break;
            System.out.print(str);
        in.close();
        catch(IOException e)
            System.err.println("execution error: " +e);
      }

    Thank you for your reply. I have made some change. However, there is an incompetable type found error.
    in = new BufferedReader(new InputStreamReader(in));The following are all of the code.
    public void read()
        File file = new File("C://Documents and Settings//Charles//My Documents//Brunel//EE2065//Assignment and Lab//Assignment 4 and Lab 4//data.txt");
        FileInputStream in = null;
        //BufferedReader in = null;
        String str = "";
        try
          in = new BufferedReader(new InputStreamReader(in));
          //in = new FileInputStream(file);
          for(;;)
            BufferedReader Bstr = new BufferedReader(new InputStreamReader(in));
            //str = new BufferedReader(in).readLine();
            //str = new DataInputStream(in).readLine();
            if(str == null)
              break;
            System.out.print(str);
        in.close();
        catch(IOException e)
            System.err.println("execution error: " +e);

  • HELP HELP REQUIRED!!!!!! Reading and Writing  from and into a Telnet Window

    Hi,
    I need to read and write into a Telnet window .But the Telnet window is a exe program that is been given by the Windows while installing the OS. Another thing is that I need to read and write into/from the Telnet window at a specific X and Y positions which will be defined in the database . I did searched for a dll of Telnet which can contain some APIs to achieve the task but I was unable to fine one.
    Even if u wont be able to provide me the perfect solution , Please guide me how to read and write from a executable window .
    Any help will be highly appreciated.
    Thanking in Advance.
    Mannu26.

    Hi Guys ,
    Thanks for the comments , atleast I got few but none were of any use to me. If u can Please help me on this topic it will be very kind of you .
    Take Care.
    Manoj.

  • PSE-10 how do I import and copy from external hard drive into organizer

    Can I import and copy from external hard drive into organizer? Under Get Photos, I select import  from folders/files but after browsing to the external hard drive the copy option is disabled/greyed out. I there a method to import and copy?

    That would be mounted as an internal drive and hence the corresponding option is not checked during Import.
    Once you import the media form this drive, you can select all and go for File >> Copy/Move files option and copy them wherever you want to.
    Hope this helps
    Thanks
    Andaleeb

  • HT201269 My PC crashed. iTunes was on it and now all files are gone. All music does exist on iPad. How do I get the music that had been downloaded from iTunes and copied from my CDs onto new PC from iPad. Would rather not use cloud.

    PC crashed. iTunes was on it and now all files are gone. All music both purchased  and copied from CDs is on iPad. How do I get the music back onto the PC without using the cloud. Afraid if sync will wipe all music from iPad.

    You would need to download iTunes on comp and download purchases again (you don't have to pay again) and upload your CDs again IF you sync your iPad to your computer it will erase everything

  • Error in generating an Invoice via Copy To and Copy From method

    Hi All,
    Im having this problem when Copying To and Copying From Delivery to Invoice. The Error message is : 'Internal error (%ld) occurred, 'Internal error (-5002) occured' [Message 131 - 183]. Some Delivery can Copy to and Copy from to Invoice.
    Thanks and Regards,
    Melvin

    Hi Melvin,
    You may check:
    Do i need to set DocNum value when creating Documents in DI?
    Re: Is it possible to change the baseentry/baseline/basetype in document lines?
    Thanks,
    Gordon

  • Just installed Firefox 3.6. Firefox will not start and Firefox safemode does not start either. Using Task manager I do not see if started either. If I create a new profile and start from that window, Firefox starts up. I see no error windows/messages. I d

    Just installed Firefox 3.6. Firefox will not start and Firefox safemode does not start either. Using Task manager I do not see if started either. If I create a new profile and start from that window, Firefox starts up. I see no error windows/messages. I do have it listed in my Firewall as an exception program with Permit All. What is happening?
    == This happened ==
    Every time Firefox opened
    == After removing Firefox and Reinstalling it. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB6.4; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; MS-RTC LM 8)

    If that new profile works then you can transfer some files from the old profile to that new profile (be careful not to copy corrupted files)
    See http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    See also [[Basic Troubleshooting|#Make_a_new_profile|Basic Troubleshooting: Make a new profile]]

  • I just recently bought a phone off craigs list from someone else and they didnt restore it so i tried to plug it in and restore it and it said the "apple mobile device is not started" what does that mean? and what can i do?

    i just recently bought a phone off craigs list from someone else and they didnt restore it so i tried to plug it in and restore it and it said the "apple mobile device is not started" what does that mean? and what can i do?

    You must be running Windows.  AMD is a service that needs to be running in order to sync your phone.  You need to start it as described here: http://support.apple.com/kb/ts1567.

  • I am unable to update to IOS5 from Itunes, says "mobile device services not started". What is this and how do I fix it?

    I am unable to update to IOS5 from Itunes, says "mobile device services not started". What is this and how do I fix it?

    Here is a YouTube video which should guide you through a solution:  http://www.youtube.com/watch?v=VLFAo-FWLxE

  • Can I share ring tones or alert tones purchased from iTunes between mobile devices?

    Does anyone know if there is a way to share ring tones or alert tones purchased from iTunes between mobile devices?  I purchased them on my iPhone and they come up on my computer but I cannot transfer them to my iPad.  Is it possible to share them between mobile devices like any other song?

    If you just want to select the whole song as your ringtone (without cutting out the best part) go to your computer and check were the file is saved. When found create a copy of it and rename its extension from m4a to m4r. Now drag&drop that file into itunes and there is your ringtone

  • Encountered an error apsdaemon.exe when trying to update itunes.  Tried to redownload it and it said Service 'apple mobile device' failed to start and do I have sufficient privileges to start system services?  I have an Ipad too.  R they talking about it?

    Encountered an error apsdaemon.exe when trying to update itunes.  Tried to redownload it and it said Service 'apple mobile device' failed to start and do I have sufficient privileges to start system services?  I have an Ipad too.  R they talking about it?  I didn't uninstall Itunes from the Ipad Just my PC,

    I don't think so...Seems like an apple issue to me...Or do you know something I don't?

Maybe you are looking for

  • How do I downgrade to a specific update of Java version 6?

    I am used MBA Mountain Lion OSX. I am trying to use Business Objects through the web and unfortunately Java 7 is not compatible. I was able to downgrade to Java 6u65 (Java 1.6.0_65)  but I really need update 45 to get Business Objects to work. Can an

  • Dragging does not move, it copies

    If I read the User Guide correctly, you should be able to move a row by dragging its reference tab. It works within a table, but every time I try to do it between tables, it copies. That does not seem correct given the Guide. Has anyone understood th

  • Search in UCM

    Hi guys I configured using ucm and ses and when i launch the crawler, it works and it indexes some file, but when click on search ( http://<ses hostname>:<port>/search/query/ url) and search for documents , it doesn't retrieve anything. How should I

  • Illustrator File Icon missing in Vista Business? !

    Hello, Under WinXP, the AI file type would display an orange flower icon for Illustrator files. Under Windows Vista Ultimate, the AI file icon is only a white page... Any idea why? Can this be changed? Thanks, Luke

  • Firefox 4. will not run on my pc

    I niaively upgraded to version 4 but all I can do is open it. Then it freezes every time with (not responding) message at the top of the page. Quite apart from not liking the new layout I'm seriously teee'd off with it. What is wrong & how can I fix