How do I replace the DSC prefix on my photo file names?

Most “Digital Still Cameras” assign the file names of the photos in this format: “DSC_nnnn.xxx”. The “nnnn” is a four-digit number and the “xxx” the file type, often “JPG”, but it can also be another extension. For example for Nikon “raw” files the extension is “NEF”. The first four characters can be changed in some cameras, but most just set the “DSC_” prefix.

Of course, you can change this by renaming the file. Doing that one at a time is not practical, so here is the procedure I use for doing “batch” renaming. I use a “Windows Batch File” to do this chore.

Creating a Windows Batch File

imageOpen Notepad and type in the Windows “command line” commands. See the illustration here. My first command starts with “REM”. That stands for “remark” and does nothing. It is just used to tell me what the batch file does.

The next command is “cd %1”. The “cd” part stands for “change directory”. This is old language dating back to the time before “folders” were called “folders”, they were “directories”. The command is equivalent to you clicking on a folder in the navigation pane of Windows Explorer. The “%1” part tells the command to use the “command line parameter” that was passed to the program. That sentence probably means nothing to you, don’t fret. You will see shortly how we pass the folder name to the batch file program – by just dragging it to the bat file icon.

The last line is “rename DSC_????.* LK6A????.*” Now here the first term is easy enough, “rename” means just that (you can also use just “ren”). This is followed by the name of the file (or files) to be renamed. The first part is clear enough. The question marks each stand for “whatever character is there”. There are four question marks to specify the four numeric characters in the photo file name. The period follows the numbers. The asterisk after the period says “whatever follows the period”.

Now the new name is entered. This is the same except for the first four characters. I use my initials followed by a “camera identifier character” (“6”) and that is followed by the letter “A” in my case. You can specify any four characters, no fewer and no more, or else the command will do “unexpected things”.

Save the file to your desktop, using Save as and giving it a name. I use “renameDSC”. imageSince you created it with Notepad is is just a plain text file, not a “batch program” yet. If the icon on the desktop shows just the name without an extension, reset the viewing options to make the next step easier: Open Windows Explorer (StartComputer). Click on Desktop (at the top in navigation pane). Click Organize then Folder and search options. In the Folder Options dialog click the View tab. imageFind the option reading “Hide extensions for known file types”. Click it to uncheck the box. Click OK then close Windows Explorer.

Now the extension of the file you created will be visible, it will say “renameDSC.txt”.

Click on the icon to select it, a moment later click on the name. This opens the rename box. image

 

 

 

 

 

Replace the “txt” extension with “bat”. The “bat” stands for “batch file” and imageindicates to Windows that it is a batch program. Press Enter. There will be a warning message. Click Yes to perform the rename operation.

You now have created a “batch program” and the icon will now show the “gears” image:

image

If you wish you can reset the option to hide the extensions of “know file types”. 

You can edit and revise the batch file by right-clicking the icon and selecting Edit – this opens Notepad. When you are finished save the file. It will remain a batch file, so there are no further hoops to jump through.

 

You are now ready to perform the renaming operation. You will find this fast and easy – now that you have a desktop program for doing so.

 

Renaming the DSC files

After importing your photos, open Windows Live Photo Gallery. Find the folder or folders of the new photos in the navigation pane.

image

Now just drag the folder name to your batch program.

image

You will see the “Command prompt” window open momentarily and carry out your instructions. If you folder contains a small number of photos you might not even notice the operation. But take a look at the thumbnails. If you have the display showing the file names, you will see that they all have been renamed.

Do this for any other folder containing photo files that need renaming. It takes just a couple of seconds, but you do have to do it one folder at a time. You will find this quick and easy and fun to do.

.

.:.

Advertisement

How do I import photos from my camera to my Windows 7 computer?

Windows 7 and Windows Live Photo Gallery make importing photos from your camera very quick and easy. Here is how to set up your system and how import photos quickly.

Setup camera on Windows 7

Connect your camera to your computer using a USB cable. Turn on the camera. If this is the first time that the camera is connected to the computer you will see something like this near the right end of the Taskbar.

image

Windows 7 will install the needed driver software as soon as it sees the camera. This will take but a few moments.

imageThe camera device window will open, it is show below. (If it doesn’t open automatically, click the camera icon on the Taskbar.

image

The window will show a variety of information. The illustration is for a Nikon D60 camera, for another camera the information will be similar. Of concern here is the import-06option labeled “Import pictures and videos”. Click on “Change program”.

A dialog windows opens like the illustration on the left. The default option is “Import pictures … using Windows. For much better control and more options use Windows Live Photo Gallery to import the photos. So click on “Import pictures and videos using Windows Live Photo Gallery”. Then click OK.

Next click “Change general settings”. In the next dialog, click on the option bar that says “Take no action”.

image

Click on “Import pictures and videos”, then click OK.

Windows is now set up. Turn off your camera. The camera icon will disappear from the Taskbar. Next set up options in Windows Live Photo Gallery.

Set import options in Windows Live Photo Gallery

Open Live Photo Gallery and click the blue “File” tab (upper left). Click Options. In the next dialog click the Import tab.

image

Here a number of options can be set. Since you are setting up importing from your camera, leave the setting for “Cameras” and keep the import destination of “Pictures”. Your Pictures folder is the proper place to keep photos.

As photos are imported new folders can be created for the photos. There are a number of naming conventions you can select from. I like “Date Taken + Name”, this is illustrated here.

You can also choose the file name format. My preference is to keep the file names that the camera has assigned to them.

The dialog window contains an example to show how the folder names and file names will appear according to the settings you select.

There are three other options. Check what should happen. Then click OK.

This completes the setup of your computer for importing photos. So let’s try it out. Close Windows Live Photo Gallery.

Importing photos from the Camera

Connect the camera with a USB cable to the computer. Turn on the camera.

Windows will recognize the camera and start carrying out the option that you have set import-01up. Momentarily you will see a window telling you that Windows is “looking for photos and videos…”.

As soon as it has finished analyzing the photo files on the camera, an new dialog window with more options opens up.import-11

This may look like the one illustrated here. It will show the number of photos on the camera and display two options. I like, and recommend, the “review” option. There are additional choices that can be made using that approach.

Make your selection and click Next.

If you chose the review option you get something like this:

import-12

Photos will be grouped by date. You can change the grouping with the slider control on the bottom. You can enter a names for the folders that will be created for each group. You can also specify tags that will be common to all the photos in a group. This can really help you get your organizing of the photos underway. Click on “Enter a name” to enter the folder name (or the name part of the folder name). Click on Add tags to get this started.

Separate different tags with semicolons. Here is an example with information filled in:

import-15

Note that you can inspect the photos in each group – click “View all … items”, and can even check or uncheck the individual photos to be imported.

To proceed, click Import.

Windows Live Photo Gallery now imports your selected photos, creates folders named in accordance with your settings, and places the grouped photos into the folders. If you have set the “Open … Photo Gallery after importing…” option, Windows Live Photo Gallery will open once the photos have been imported showing the photos.

.

.:.

Is there a way to send SkyDrive albums as slide shows?

Yes, you can send links to existing SkyDrive albums or slide shows at any time. Here is the procedure:image

Sign in to your Windows Live account (live.com).

Go to Your albums.

Select the album you wish to share.

Click Share on the menu bar.image

Click Send a link on the drop-down menu.

This will bring up a window with an address entry box and a message box. Enter the recipients email address and also enter any message that you wish to accompany the link.

The dialog looks like this:

image

You can enter multiple addresses to send the link to any number of recipients.

NOTE: If your album sharing is set to Everyone (public) the recipients will not need to sign in with a Windows Live ID.

If the album is set to one of the other sharing options, the recipient will need to sign in using the email address, the one you use in sending the link, as the Live ID. If the recipient does not have that address set as a Live ID it can be done from the sign in page. 

The recipient receives an email with this type of message:

image

When the recipient clicks View album a browser window is launched and the slide show comes up.

If the slide show was prepared with Windows Live Photo Gallery > Slide show > Share slide show > SkyDrive a movie of the slide show will be uploaded to SkyDrive. This will be a “My movie.wmv” file created by Live Movie Maker. The email link will start the slide show and play it through.

If the link is to an album of individual picture files, the link will start with the first picture. The recipient needs to click the “play” button to play the slide show. See illustration here:

image

.:.