Geeks in Phoenix

Geek Blog


Understanding long folder and file names in Windows

Did you know that there is a limit to how long a file name can be? Did you know that the folder name is also include in that limit? And what about the path? Let's take a look at long folder and file names in Windows.

Understanding long folder and file names in Windows

I recently recovered files from several Windows based computers for a client. He asked that I put them onto an external drive for storage. But I ran into a problem, file names that were too long.

Now allot of people think that the maximum length for the name of a File in Windows is 255 characters. But that is not really correct. Technically, Folders are also a File but with a special attribute designating it as a Folder.

And Folder and Sub-Folder names are also included in the full File name. So, the actual File name also includes the Folder and Sub-Folder name(s) as well. They all factor into the 255 character limit.

So, when you put all of the names of the Folder, Sub-Folder(s) and File together, it is called a Path. A Path is a string of Folder, Sub-Folder and/or File names, backslashes and sometimes a volume name (drive letter).

The Path to a Folder or File on your computer will contain a drive letter (C:\, D:\, etc.) at the beginning. A Path to a network Folder or File will contain just two (2) backslashes (\\) at the beginning. And a Path can be up to 260 characters in length.

For example, let's say you have a file named 'My Text File.txt' in a Sub-Folder of your Documents Folder called 'Simply Text Files'. The complete Path for it would be:

C:\Users\username\Documents\Simply Text Files\My Text File.txt

The name of the File itself is only 16 characters, but with the name of the Folder and Sub-Folders included, it is 59 characters. And the complete Path is 62 characters. And yes, spaces do count as characters.

So, getting a long File name error does not necessarily mean the actual name of the File is too long, it just means the length of the names of the Folder, Sub-Folder(s) and File altogether are too long. The simplest solution is to shrink the Folder or Sub-Folder(s) name(s) and leave the actual File name alone.

Now in my case, I was dealing with a couple thousand File names that were too long. And I could not identify where all of the Files were located. So, I went looking online for a program that could help me with this issue.

What I found was a cool little program called TLPD (Too Long Path Detector).
Too Long Path Detector folder selection screen
It showed me where all of the long file names were. And lucky for me, they were grouped together in Folders and Sub-Folders with fairly long names.

So, using the output from TLPD,
Too Long Path Detector text file output
I started shortening the Folder and Sub-Folder names. I kept running TLPD until I had all of the Paths down to under 225 characters. It was then I was able to copy all of the Files to an external drive for storage.

How to get to and use the Run dialog box in Windows

There may be a time when you need to run a program in Windows that does not have a shortcut to it. Usually it is a program that is not used that often. So here is how start a program using the Run dialog box.

How to get to and use the Run dialog box in Windows

The Run dialog box is meant to run programs that you don't necessarily use that often and you do not have a shortcut to. It may be a system application or a downloaded installation program.

There are two (2) ways to use the Run dialog box. If you know the name of the application you want to start, you can usually just type the name into the Run dialog box and click OK.

For example, if you have Microsoft Word installed on your computer, you can just type Winword (the actual name of Microsoft Word) in the Run dialog box and click OK. Microsoft Word will then start up. That is because the program directory is in the Path (it is an environmental variable). The Windows system directory is in the Path by default.

If your program is not in the Path, then you will have to click on Browse... and manually find the program you want to start. Once you have the name of the program you want to start in the Run dialog box, just click on OK.

Now bringing up the Run dialog box is fairly simple. The way you go about getting to it is kind of different in each version of Windows, but there is one keyboard shortcut that works for all versions.

Windows Logo key Windows logo key + R

Here are all of the ways to access the Run dialog box in the different versions of Windows.

How to bring up the Run dialog box in Windows 7

The Run dialog box in Windows 7
The Run dialog box in Windows 7

  1. Left-click on the Start menu.
  2. Navigate to All Programs > Accessories.
  3. Left-click on Run.

Or

  1. Left-click on the Start menu.
  2. Type Run in the search box right above the Taskbar.
  3. Left-click on Run in the search results.

Or

  1. Press the Windows Logo key Windows logo key + R.

How to bring up the Run dialog box in Windows 8.1

The Run dialog box in Windows 8.1
The Run dialog box in Windows 8.1

  1. Left-click on the Start button.
  2. When the Start screen appears, just type Run. It will automatically bring up the Search dialog box with Run in the search field and the results will appear below it.
  3. Left-click on Run.

Or

  1. Right-click on the Start button to bring up the Power User menu.
  2. Left-click on Run.

Or

  1. Press the Windows Logo key Windows logo key + X to bring up the Power User menu
  2. Press the R key.

Or

  1. Press the Windows Logo key Windows logo key + R.

How to bring up the Run dialog box in Windows 10

The Run dialog box in Windows 10
The Run dialog box in Windows 10

  1. Type Run in the Search box (Cortana) on the right side of the Start button.
  2. Left-click on Run in the search results.

Or

  1. Left-click on the Start menu.
  2. Scroll down the list of programs until you come to the Windows System folder.
  3. Left-click on the Windows System folder to expand it.
  4. Left-click on Run.

Or

  1. Right-click on the Start menu to bring up the Power User menu.
  2. Left-click on Run.

Or

  1. Press the Windows Logo key Windows logo key + X to bring up the Power User menu
  2. Press the R key.

Or

  1. Press the Windows Logo key Windows logo key + R.

Security and your computer

With the recent outbreak of data encrypting malware, keeping your computer secure is a major issue. There isn't just one thing that you can do to secure your computer, but multiple. So here are few ways to make sure your computer is as secure as possible.

Security and your computer

Operating system security

Is your device up to date?
Is your device up to date?

Keeping your operating system up to date is essential for security. Microsoft does a pretty good job of issuing patches and updates for Windows, especially when a new vulnerability is discovered.

But if you are not keeping your OS up to date with patches and updates, you could be making your computer vulnerable to any current or future exploits. And if you are still using an OS like Windows XP or Windows Vista that does not have support from Microsoft anymore, you need to upgrade your OS.

If you have turned off Windows Update, turn it back on. And if Windows Update is not working correctly, here is how to fix it.

Troubleshooting Windows Update problems

Anti-virus security

Is your anti-virus up to date?
Is your anti-virus up to date?

A good anti-virus program is required for security. You can get an anti-virus program that has all of the bells and whistles (firewall, identity protection, custom browser, etc.). Or you can get one with just a virus scanner. Either way, you have to have some form of protection.

Now Microsoft has been including an anti-virus program inside of Windows for a while (Windows Defender) and it works fairly well. But there are plenty of other anti-virus programs out there, including a security suite your Internet Service Provider (ISP) may provide.

But if you want to know how they all stack up, just go over to the independent IT security institute AV Test. They test all of the most popular anti-virus programs on a regular basis. They also cover multiple platforms too (Windows, Mac and Android).

AV-TEST | Antivirus & Security Software & AntiMalware Reviews

I personally like using a layered approach to my computer security, using different programs that complement each other.

How to use layered security to protect your computer

Web browser security

Is your web browser up to date?
Is your web browser up to date?

Having a secure web browser is mandatory in my book. And since web browsers have really become targets for online exploits, you need to know your browser is safe and secure.

I personally like the fact that Google Chrome and Mozilla Firefox check for updates when you start them up. And they also get updated more frequently than Internet Explorer or Microsoft Edge does.

There are two (2) things I like to do to my browsers to improve their security:

  1. Disable Adobe Flash. Hackers have been exploiting Adobe Flash for years now by getting bogus Flash ads into third-party ad networks.
  2. Anti-virus. I prefer an anti-virus program that integrates into the browser using an extension or add-on.

And since ads also are becoming an issue, I will sometimes recommend using an ad blocker like Adblock Plus. They have a version for almost every browser you can think of.

E-mail security

Is your e-mail secure
Is your e-mail secure?

E-mail is currently one of the most popular ways to spread malware. You have to be very carefully with what e-mail attachments you open. Knowing how to spot a piece of spam e-mail is essential.

How to spot a piece of spam e-mail

I personally use the anti-spam program Mailwasher to filter out the junk and spam from my e-mail. I also have configured my anti-virus program to monitor Mailwasher for viruses, even though Mailwasher by default renders all mail in text format and cannot open attachments.

But when Mailwasher does download a suspicious attachment, my anti-virus program will scan it and flag it as such. I use the Pro version, but Mailwasher does have a free version that is sponsored by advertising.

Eliminate spam from your inbox with MailWasher

Password security

Are your passwords secure?
Are your passwords secure?

Reusing passwords is a big security no-no. It's nice to be able to easily remember your passwords, but it can be a nightmare if someone were able to guess them. That is why you do not want to use the same password over and over again.

If you are like me, coming up with a unique password for every different place you log into can be really hard. Luckily there are password generators that can make it easy to create really secure passwords. One of my favorites is the Norton Identity Safe Password Generator.

Norton Identity Safe Password Generator

Using the Norton Identity Safe Password Generator, you can create passwords up to 32 characters long that have mixed case letters, numbers and punctuation with no similar characters.

Now that you have generated a secure password, why not test it out. Gibson Research Corporation (GRC) has a bunch of cool security tools on their website, one of them being Password Haystack.

Password Haystack

Password Haystack is a brute force password calculator that will tell you how long it will take to guess any password. Go ahead and enter your favorite password and see how long it can take to guess it. You may be surprised at how little time it can take to crack it.

How to perform a clean Windows 10 installation

Doing computer repair for a living, I see quite a few computers that could really benefit from a clean, fresh installation of Windows 10. Usually it is a system that was upgraded to Windows 10 from Windows 7 or Windows 8.1.

How to perform a clean Windows 10 installation

Then of course there are times that the registry has gotten corrupted or the hard drive has failed. But whatever the case, a clean, fresh installation of Windows 10 is always a great way to get your computer back to tip-top shape.

Now you might be thinking that just performing a reset of Windows 10 would work perfectly fine. And in most cases, you would be right. But if your computer originally came with Windows 7 or Windows 8.1, you could have problems. Let me explain.

When you bought your computer new, it came with a hidden recovery partition that had all of the installation files for your version of Windows. If that version was Windows 7 or Windows 8.1, the files got replaced when you upgraded to Windows 10.

The recovery media issue with upgrading to Windows 10
The recovery media issue with upgrading to Windows 10

But the problem that I have encountered is the upgraded recovery partition sometimes doesn't work. So, when you try and reset Windows 10, it fails. A clean installation of Windows 10 fixes that issue. And with a clean, fresh Windows 10 installation, you will know that everything will work as it should.

The only down-side to a clean Windows 10 installation is the fact that you have to reinstall all of the programs you personally installed. But if your system will not boot, then it is kind of a moot point. You would have to reinstall them anyway.

Backup and inventory

So, the first thing to do is backup your computer. You will need an external drive that is fairly large (I use 1GB and 2GB drives myself) and a blank CD/DVD (system repair disk). Here's how to use Windows Backup that is included inside of Windows 10.

Backup your files with File History and Windows Backup in Windows 10

Second thing to do is to take inventory of the hardware and software inside of your computer. Use a program like Belarc Advisor to create a list of hardware and software in your computer.

Make sure you print a copy of the results. You can also save a copy to an external drive if you like. But a printed copy will work the best, as you can check off items that you take of after the reinstallation of Windows 10.

Create the Windows 10 installation media

This step is fairly easy. All you have to do is download the Windows 10 media creation tool. It is a stand-alone program that does not require installation to run. Just double-click on the program and you are ready to start.

Windows 10 Media Creation Tool options
Windows 10 Media Creation Tool options

You will need either a blank DVD or 8GB USB drive to create the bootable installation media. If you run the media creation tool on the same computer as you are going to reinstall Windows 10 on, it will automatically select the recommenced options.

Clearing the hard drive

Now comes the time to wipe the drive, or at least the partition where Windows 10 is installed. If you have a Dell or HP computer, they have diagnostic partitions, so you may just want to wipe just the OS partition only.

Keep in mind that if you upgraded from Windows 7 or Windows 8.1, the recovery partition that came with your computer to restore factory settings no longer functions. Sometimes it might be better to just wipe the whole drive clean and be done with it. But that is completely up to you.

I personally like to use the disk wiping tools included on the Ultimate Boot CD (UBCD). All you have to do is download the most current ISO image and burn it to a CD. You can also create a bootable USB drive too. The instructions are on the UBCD website.

Now to boot up your computer up on the UBCD may take a little work, since it is built on a version of Linux. If your computer has Unified Extensible Firmware Interface (UEFI) enabled, you will have to go into the BIOS and disable it temporarily.

Installing Windows 10

Now that your drive is wiped clean, it is time to install Windows 10. If you are using a DVD, turn your computer on, eject the DVD tray, insert the Windows 10 DVD you created and then restart your computer. If your using a USB drive, just plug it in and start your computer.

Since there is no operating system, your computer will search all available media for a boot record. Once it finds the Windows 10 media, the installation will begin.

During the installation of Windows 10 you will be prompted for your product key. Windows 10 is a little different from previous versions of Windows, in that the product key is not stored on your computer, but on the cloud. Microsoft calls it Digital Entitlement.

With Digital Entitlement, you do not need to enter your product key during installation. Just click on the I don't have a product key link on the bottom of the screen. Once the installation is complete, Windows will automatically activate the first time your system can get online.

From here all you have to do is install the programs and features you want. Then sit back and enjoy your clean, fresh Windows 10 installation.

Use the Microsoft Update Catalog to find and install Windows drivers and updates

Are you having problems finding Windows drivers for your older hardware? Or have you had an update to Windows recently fail to install and want to manually install it? Then the Microsoft Update Catalog may be just what you are looking for.

Using the Microsoft Update Catalog to find Windows drivers and updates

Sometimes repairing Windows based computers can be tough, especially when it comes to drivers and updates. Normally using the standard means of obtaining drivers (Device Manager / manufacturer) and updates (Windows Update) is relatively easy.

But there are times when I cannot find a device driver or an update to Windows fails to install. That is when I go over to the Microsoft Update Catalog and see what I can find.

The Microsoft Update Catalog is a collection of Microsoft drivers, hotfixes and software updates just like Windows Update. In fact, they are the same files you receive through Windows Update.

And just like Windows Update, there are three (3) types of updates available: Important, Recommended and Optional (drivers). The only difference is that you can choose what version you download.

Searching the catalog is fairly straightforward. For failed updates, I just use the Knowledge Base (KB???????) number. For drivers, I use manufacturer / model number or the hardware id from Device Manager.

Finding and installing Windows Updates

Now before downloading updates make sure that Windows Update is working correctly. Check the Windows Update history and see if all updates are failing to install or if it is just one.

If all updates are failing, take a look at this article, Troubleshooting Windows Update problems. If it is only one particular update that is failing, then I would go ahead and download it then manually install it.

First you will need the Knowledge Base number from the Windows Update history to use for the search query.
Finding and installing Windows Updates 1
Once you have it, just type it into the search field and click on Search.

Second thing you will need to know is what version of Windows you have and if it is 32-bit or 64-bit for the search results.
Finding and installing Windows Updates 2
Some updates are specific to one version of Windows. Some are general, across the board, every version of Windows.

Once you find the update you need, just click on the Download button. A separate window will open with the update name and link to it. Just left-click on the link and choose whether you want to open it or save it. Since some of these can be rather large in size, I like save them to my computer first, then install them.

Finding and installing Windows device drivers

Normally the Device Manager inside of Windows works great for finding device drivers. If there is a driver for your version of Windows, it can automatically download and install it.

But what happens when there is not a device driver for your version of Windows? That is when you need to look for one for a previous version of Windows. Let me explain.

For example, you find that Windows 10 doesn't have a driver for your older hardware. You check the manufacturers website and they do not have one either. Or worse, they have gone out of business.

For this exercise, I am going to use a Windows 10 computer and a brand-new RAID controller I have had sitting here for around eight (8) years or so. The box indicates the last operating system that was supported was Microsoft Vista, so it is safe to say that Windows 10 will not have a driver for it.

Normally the first thing I do is psychically check the device for any manufacturer name or model number. If I can find a model name or number, I use it as the search query in the Microsoft Update Catalog.

If I cannot find anything on the device that identifies it, I install it a computer and start it up.
Finding and installing Windows device drivers 1
I then go into Device Manager and let it try to find a driver. If Device Manager cannot find a driver, I then use the hardware id
Finding and installing Windows device drivers 2
as a search query in the Microsoft Update Catalog.

Now I know that there are no drivers for Windows 10, so I have to find one for an earlier version of Windows. I will first look for a Windows 8.1 driver, then a Windows 7 driver, then a Windows Vista and then a Windows XP driver.
Finding and installing Windows device drivers 3
As long as it is the correct platform (32-bit or 64-bit), I should be able to use it.

Once I find a driver, in this case it's for Windows XP 64-bit, I download it to a folder on my local drive. Now the downloaded driver file will have a .CAB extension, so before I can use it, I will need to extract the files / folders from it.

Once I get the files / folders extracted, I go into Device Manager and select Update Driver. I then select Browse my computer for driver software. From there I browse over to and select the folder I extracted the driver files into. I also check the Include subfolders check box. I then just click on Next
Finding and installing Windows device drivers 4
and Windows 10 installs the driver.

For more information on the Microsoft Update Catalog, just follow the links below.

Microsoft Update Catalog
How to download updates that include drivers and hotfixes from the Windows Update Catalog

Customer service is #1

Here at Geeks in Phoenix, we take pride in providing excellent customer service. From computer repair, virus removal and data recovery, we aim to give the highest quality of service.

Bring your computer to us and save

Our in-shop computer repair service  is based on the time we work on your computer, not the time it takes your computer to work!

Contact us

Geeks in Phoenix
4722 East Monte Vista Road
Phoenix, Arizona 85008
(602) 795-1111

Like Geeks in Phoenix on Facebook

Follow Geeks in Phoenix on Twitter

Watch Geeks in Phoenix on YouTube

Geeks in Phoenix is an IT consulting company specializing in all aspects of Computer Repair / PC Repair / Laptop Repair. Since 2008, our expert computer repair technicians have been providing outstanding Computer Repair, Virus Removal, Data Recovery, Photo Manipulation and Website Support.

Geeks in Phoenix have the best computer repair technicians providing computer repair and service in Phoenix, Scottsdale and Tempe Arizona. We offer In-Shop, On-Site and Remote (with stable Internet connection) computer repair service.

Copyright © 2018 Geeks in Phoenix LLC