How do I specify the file path for a connected android device in a command prompt on a windows 10 operating system?
120397
I am running Windows XP and have a phone mounted through USB by MTP.  In Explorer, its address is:  My Computer\SAMSUNG-SGH-I547\Phone\DCIM   I would like to execute a command line command such as  explorer "My Computer\SAMSUNG-SGH-I547\Phone\DCIM\Camera"   so as to quickly go to the Camera folder. (Right-clicking the device or anything in it does NOT provide a "Create Shortcut" dialog.)  But "My Computer" is not a valid PATH in Windows. Unlike USB flash drives, it seems the phone mounted by MTP does not get a letter drive name.  So, what is the path of an MTP device in Windows?  If the answer is there is no command line path, is there workaround?
113744
How. Can I install windows software on Android platform ?
89028
I am using a Samsung Tab 2.  There is a path: /mnt/external_sdcard/myfile. Here, I can save, read, or write my file to the external micro SD card.  I'm just wondering if this path is the same for all devices, or if it may be different.
55649
Is there a way to restart a Windows service from the command prompt?
75414
When browsing in Windows Explorer, sometimes I want to start a command prompt "here", e.g. with the current browsed folder as the current directory.  For example, when I am browsing "D:\Foo\Bar\Bar1", I want to open the command prompt with current dir pointing to this directory. Normally what I do is   Copy the current folder path from Windows explorer's address bar Open cmd via Start Menu > Run  Type D: (because I have to change drive, the default is C:)  Type "cd " and then paste the folder path that I copied earlier   I do it quite often in my daily work, and I think by adding a context menu I will improve my efficiency (and also having to do the above repeatedly can be kind of annoying). I imagine I can just Right-Click > Start cmd here and then I will have a command prompt already in D:\Foo\Bar\Bar1  Is this possible?
78945
I would like to activate &quot;USB tethering&quot; from within a bash script, so is there any possibility to run a command line with adb shell to change some Android settings ? Edit1: The following command open the needed settings but don't change anything alone : am start -n com.android.settings/.TetherSettings  I've found TetherSettings action name from aapt dump xmltree com.android.settings.apk AndroidManifest.xml | less +/ether  Related, but the opposite
80773
I have copied some data from my Linux machine to my external hard disk. When I want to read some files on my Windows machine, I can't open it. I get the below error  The specified path does not exist   On the other hand I can't rename or copy the same file, with error  The file name you specified is not valid or too long   I have tried to use rename function in command prompt (with and without quotation marks):  rename "Long Name of The File.pdf" "short.pdf"   but I get this error (I don't know why?):  The syntax of the command is incorrect   Can you please help me?
46259
I have LG L5 (e610 model) device with Cyanogenmod 10. When I connect the phone to a computer with Linux (I have mtpfs installed), I can see both internal storage and the SD card.  However when I navigate inside them, I can't see some of the files.  For example, if I open file manager app on the phone, I can see several files in the Internal storage/Notifications directory, however the directory on the computer only shows one of those files.  If I switch USB connection type to PTP (camera) - as OS X doesn't support MTP natively - Image Capture sees the phone as a camera, however it can only see about a third of all the images present on the phone.  I don't have a Windows machine to try, but I suspect the results would be similar.  I tried upgrading Cyanogenmod to the latest nightly, clearing and reinstalling it - same results.  Any idea as to what is going on?  How can I make all files appear on the host computer?
26083
I'm using Android 4.4.2 (on ). I've a Windows PC at home which has highspeed broadband internet connection. I don't have wireless router or access point. I just want to use PC's internet connection on my phone. I've tried multiple methods but none seems to work.  Method 1: Using native Android 4.4.2 option  In my phone when I connect my phone, in Settings &gt; Wireless &amp; networks &gt; USB Internet (sharing Windows PC internet via USB cable) checkbox, which I checked then it asked me to choose my Windows version (which is Windows 8.1 but since it didn't show that option) I chose Windows 8.  It gives me further instructions as showing in the following picture:    Here is the problem, there is no sharing tab (see the following screen shot)   Method 2: As described in   I learned on this site that it is called Reverse tethering. I read and followed the procedure mentioned in    I followed all the steps described in that answer, until executing the command.   Install USB drivers from Android SDK [DONE] Connect USB cable and activate USB Tethering (You should see on a new network interface.) [DONE] Bridge the 2 network interfaces [DONE] On your computer execute adb shell netcfg usb0 dhcp [PROBLEM]   When I execute adb shell netcfg usb0 dhcp it says: error: device not found. I tried the same thing with USB Debugging in Developer settings, ON &amp; OFF. The error remains the same.  Method 3: Rooting the device and using an app  I read here and there that there is another method, in which we can directly use an app but it requires rooting the device. My phone is a new phone and warranty becomes void if I root it.   EDIT: I've tried the method suggested in answer, at the 4th step of method 2, I'm facing this problem:
11802
I map a share from another machine using my user account. I launch an elevated command prompt (cmd.exe, right click, Run as administrator). Navigating to shared drive (Z:) results in:   The system cannot find the drive specified  Now if I open a non elevated command prompt, I can navigate to Z: just fine.
64483
Given a string "filename.conf", how to I verify the extension part?  I need a cross platform solution.
97764
I'm trying to set up 2 terminal location tabs to open in my  on Windows 10 (for Windows Linux Subysystem)  1. Windows Home Directory C:\Users\USERNAME     or... %USERPROFILE%  and 2. Linux Home Directory C:\Users\USERNAME\AppData\Local\Lxss\home\USERNAME        or... %LOCALAPPDATA%\lxss\home\USERNAME  The Window Home path works fine, but I'm not sure how to make the Linux Home path work? The closest I can get is to making it open up the root / location. Does anyone know the right way to do this?
35473
I factory reset my rooted Android M phone but now I realize that there was a file in the /data directory which I need.  Is it possible to create an image (.img or something similar) of the /data partition so that I could run some recovery software for ext4 on that image? I have a little knowledge about ADB.
38092
How can I check file permissions, without having to run operating system specific command via passthru() or exec()?
99249
We came with a scenario where we have to use Shortcut file (.lnk), which is on the desktop, to execute an application for a headless device (i.e, without manual intervention).  Is there any way to execute it from Command prompt?
51445
I've installed bash on Ubuntu on Windows feature on Windows 10 and I want to change directory this path on my C:\ drive:  C:/wamp64/www    What should I do ?
121720
How do I find out what directory my console app is running in with C#?