A handful of simple CLI utilities to loosely mimic POSIX's LibMTP, in a Windows environment.
MtpLite started life as this Microsoft Developer Network Example.
- Windows Vista
- Windows 7
- Windows 8
- Windows 10
Install Microsoft Visual Studio
-
Open the Command Prompt window and navigate to the
MtpLite.cppdirectory. -
Type
msbuild MtpLite.sln
Install Microsoft Visual Studio
-
Open File Explorer and navigate to the
MtpLite.cppdirectory. -
Double-click the icon for the
MtpLite.slnfile to open the file in Visual Studio. -
In the Build menu, select Build Solution. The application will be built in the default \Debug or \Release directory.
Note that this sample requires the Microsoft.VC90.CRT redistributable from Microsoft Visual Studio.
-
Connect a portable device.
-
Navigate to the directory that contains the new executable, using the command prompt or File Explorer.
-
Type
MtpLite.exeat the command line, or double-click the icon forMtpLite.exeto launch it from File Explorer.