PDA

View Full Version : Files on a digital camera's memory card


gary[_5_]
September 19th 15, 02:06 AM
Using the DOS command: dir > filename.txt I've created a text file containing the names of jpeg files in the current folder on my PC's hard-drive.

How can I create a text file containing the names of the jpeg files in a folder on a memory card?

David H. Lipman
September 19th 15, 03:19 AM
From: "gary" >

> Using the DOS command: dir > filename.txt I've created a text file
> containing the names of
> jpeg files in the current folder on my PC's hard-drive.
>
> How can I create a text file containing the names of the jpeg files in a
> folder on a
> memory card?

The same way !

--
Dave
Multi-AV Scanning Tool - http://multi-av.thespykiller.co.uk
http://www.pctipp.ch/downloads/dl/35905.asp

gary[_5_]
September 19th 15, 03:41 AM
The memory card is in my camera. Instead of using a card reader, I prefer to use a USB cable to connect the camera to my PC.

Using Windows Explorer, the path to the folder in which the files are stored on the memory card is: Computer\Canon PowerShot G16\Removable storage\DCIM\106_PANA

What are the DOS commands that I need to use to navigate to the 106_PANA folder?

gary[_5_]
September 19th 15, 04:31 AM
Using Windows Explorer, the "path" to the 106_PANA folder on the memory card is:

Computer\Canon PowerShot G16\Removable storage\DCIM\

Is the syntax of the dos command:

dir Computer\Canon PowerShot G16\Removable storage\DCIM\106_PANA > 106-files.txt

September 19th 15, 05:55 AM
On Fri, 18 Sep 2015 20:31:34 -0700 (PDT), gary
> wrote:

>Using Windows Explorer, the "path" to the 106_PANA folder on the memory card is:
>
>Computer\Canon PowerShot G16\Removable storage\DCIM\
>
>Is the syntax of the dos command:
>
>dir Computer\Canon PowerShot G16\Removable storage\DCIM\106_PANA > 106-files.txt
>
>

It might be DIR computer\powesh~1\remova~1\dcim\106_pana > files.txt

Paul
September 19th 15, 06:17 AM
gary wrote:
> Using Windows Explorer, the "path" to the 106_PANA folder on the memory card is:
>
> Computer\Canon PowerShot G16\Removable storage\DCIM\
>
> Is the syntax of the dos command:
>
> dir Computer\Canon PowerShot G16\Removable storage\DCIM\106_PANA > 106-files.txt
>

It depends on the protocol of the device.

https://digital-forensics.sans.org/summit-archives/dfir14/USB_Devices_and_Media_Transfer_Protocol_Nicole_Ibr ahim.pdf

MSC PTP MTP
MountedDevices\??\Volume{VolumeGUID} Yes No No
MountedDevices\\DosDevices\DriveLetter: Yes No No
^ ^
| |
| |
SD Card Camera
Reader Itself
(MSC) (PTP)

This is an example of a program to map a PTP device to a drive letter.

http://www.ptpdrive.com/ $29.95

If you pull the SD card and put it in a USB card reader (also
available as a device that looks like a pen drive with an SD
hole in it), then the thing shows up as a drive letter. It
works this way because the USB card reader uses MSC (Mass Storage Class).
At $7, this is a bit cheaper than buying ptpdrive software.
This style of solution, is what I use with my camera.

http://www.amazon.com/Transcend-Information-Card-Reader-TS-RDF5K/dp/B009D79VH4

*******

https://en.wikipedia.org/wiki/Media_Transfer_Protocol

"By design, MTP devices (like PTP devices) are not treated
as a traditional removable drive.

The actual file system is implemented by the device, and not
by the computer's operating system.

This also means that file system recovery tools on the computer
will be of no use. In addition, most other programs on the computer
will not recognise the MTP device, limiting the user to software
from the device manufacturer or other MTP specific programs.
"

*******

There is also the Wifi interface, but at the moment, it
doesn't appear to support Windows File Sharing (SMB) or similar.
So it probably isn't any more fun than PTP is, if you want
to work in a DOS-like environment. And the user manual that
comes with a camera, never describes these issues (what protocols
are used).

HTH,
Paul

micky[_2_]
September 19th 15, 01:01 PM
In microsoft.public.windowsxp.general, on Fri, 18 Sep 2015 20:31:34
-0700 (PDT), gary > wrote:

>Using Windows Explorer, the "path" to the 106_PANA folder on the memory card is:
>
>Computer\Canon PowerShot G16\Removable storage\DCIM\
>
>Is the syntax of the dos command:
>
>dir Computer\Canon PowerShot G16\Removable storage\DCIM\106_PANA > 106-files.txt
>
>
Yes, but some, probably old, cmd processors will want double quotes
around names with spaces.

You can also enter
cd computer
cd canon powershot G16
cd removable storage or maybe cd "removable storage"
.....
original command.

You should read something about DOS. And you might want TCC/LE which
is free, better, and very powerful.

J. P. Gilliver (John)
September 19th 15, 06:32 PM
In message >, gary
> writes:
>Using Windows Explorer, the "path" to the 106_PANA folder on the memory
>card is:
>
>Computer\Canon PowerShot G16\Removable storage\DCIM\

Is that on drive C:, i. e. C:\Computer..., or is Canon PowerShot G16
another drive letter (probably E: or higher)? [i]
>
>Is the syntax of the dos command:
>
>dir Computer\Canon PowerShot G16\Removable storage\DCIM\106_PANA >
>106-files.txt
>
>
>
Sort of.
1. This will - if it works - create "106-files.txt" in whatever
directory (folder) you issue the "dir" command from, not the folder on
the memory card.
2. Because of the spaces in the names, you may need double-quotes and/or
to use the short versions of the names (the ones probably ending in ~1,
as another has posted).
3. If it _does_ appear as a different drive letter, you'll need to
include that in the command parameter.

If you wish, download and save Teamviewer QS from
http://www.teamviewer.com/download/TeamViewerQS_en.exe then email me and
I'll lead you through it with a TeamViewer session.
--
J. P. Gilliver. UMRA: 1960/<1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

no good deed goes unpunished. This is an iron-clad rule in Netiquette.

gary[_5_]
September 19th 15, 08:50 PM
How do I determine the drive letter of the memory card?

Paul
September 19th 15, 11:19 PM
gary wrote:
> How do I determine the drive letter of the memory card?

There are a few possibilities.

1) OEM computers come with card reader in the front panel.
Drive letters are fixed. Like E:, F:, G:, H:
You might find your camera SD, when plugged in there,
always has the same drive letter.

2) If you use the "USB stick with SD slot on the side",
and plug that in, the drive letter assignment is
dynamic. You cannot rely on the letter. To fix that,
you can use this program.

http://www.uwe-sieber.de/usbdlm_e.html

Say that the drive letter ix X: . Something
you also know as a script writer, is that there
should be X:\DCIM if the SD card is from a camera.

https://en.wikipedia.org/wiki/Camera_File_System

Paul

J. P. Gilliver (John)
September 19th 15, 11:28 PM
In message >, gary
> writes:
>How do I determine the drive letter of the memory card?

(It's actually the camera-acting-as-card-reader that will have a drive
letter, not the card itself.)

Open Windows Explorer by holding down the Windows key and tapping E.

You should see (in the left pane under "My Computer", and in the right
pane) all the devices that have drive letters (as well as your webcam if
you have one, and the "Shared Documents" and "Gary's Documents"
folders). One of these things will have "(C:)" in its name. One of the
others will be the camera.

[It _is_ possible to turn off the display of drive letters; if none show
(C:), then that has been done. If you have TweakUI, it's under -
logically enough - "Drive Letters". If you don't, I don't know what
might have turned it off.]
--
J. P. Gilliver. UMRA: 1960/<1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf

A closed mouth gathers no foot.

micky[_2_]
September 20th 15, 02:20 AM
In microsoft.public.windowsxp.general, on Sat, 19 Sep 2015 12:50:24
-0700 (PDT), gary > wrote:

>How do I determine the drive letter of the memory card?

How do you find out what it is, or how do you make it be what you want
it to be?

Barry Schwarz[_2_]
September 20th 15, 12:59 PM
On Fri, 18 Sep 2015 20:31:34 -0700 (PDT), gary
> wrote:

>Using Windows Explorer, the "path" to the 106_PANA folder on the memory card is:
>
>Computer\Canon PowerShot G16\Removable storage\DCIM\
>
>Is the syntax of the dos command:
>
>dir Computer\Canon PowerShot G16\Removable storage\DCIM\106_PANA > 106-files.txt

You probably need double quotes surrounding the first operand. This
seems to be the convention for paths that contain spaces.

You probably also need a drive letter at the beginning of the path.

--
Remove del for email

BillyRay0808 USA VP 2016[_3_]
September 30th 15, 09:10 PM
"gary" > wrote in message
...
> Using the DOS command: dir
> filename.txt
> I've created a text file containing the names of jpeg files
> in the current folder on my PC's hard-drive.
> How can I create a text file containing the names of the jpeg
> files in a folder on a memory card?

Start with Desktop
Displays the files and folders on your computer.

< http://truckdrivers.simple-url.com/post/memory-card1.JPG >

Click on Tools on your Explorer
Go to Folder Options

Click Tab View

Uncheck Hide Extensions for know file types

you have to Displays the files Extensions
to be able to rename it

if rename Boy.jpg. Hide Extensions
its neme Boy.jpg.txt

Google