Geeks in Phoenix

Geek Blog


How to use the Command Prompt and Open Command Window Here in Windows 7

In this article, I will show how to use another one of my favorite applications, Command Prompt and Open Command Window Here.

What is Command Prompt / Command Window?

Command Prompt is a feature of Windows that provides an entry point for typing MS-DOS (Microsoft Disk Operating System) commands and other computer commands. The most important thing to know is that you can perform tasks on your computer without using the Windows graphical interface by typing commands. Command Prompt is typically only used by advanced users.

When you're using Command Prompt, the term command prompt also refers to the right angle bracket (>, also known as the greater than character), indicating the command line interface can accept commands. Other important information, such as the current working directory (or location) where the command will be run, can be included as part of the command prompt. For example, if you open the Command Prompt window and see the C:\> command prompt with a blinking cursor to the right of the right angle bracket character (>), the command you enter will be run on the entire C: drive of your computer.

How do I get to a Command Prompt?

There are three ways to get to a Command Prompt:

  • Click the Start button, then All Programs, then Accessories, then click on Command Prompt.

or

  • Click the Start button. In the search box, type Command Prompt, and then, in the list of results, click Command Prompt.

or

  • Hold down the Shift key while right-clicking on a folder in Windows Explorer and selecting Open command windows here from the context menu.

What commands can I run using Command Prompt?

You can run MS-DOS commands and other computer commands.

To view a list of common commands, type help at the command prompt, and then press Enter. To view more information about each of these commands, type help‌ command name, where command name is the name of the command you want more information about.

For a complete list of tasks and tools, you can use from the Command Prompt, click here.

How do I change the Command Prompt window?

You can change the appearance of the Command Prompt window by setting Command Prompt options.

To set Command Prompt options

  1. Open a Command Prompt.
  2. Right-click the title bar and do one of the following:
    • To change the settings for all Command Prompt windows, click Defaults.
    • To change the settings for the current Command Prompt window, click Properties.
  3. Select the options you want, and then click OK when you are done.

How do I run a command with elevated privileges?

Some commands that you can run using Command Prompt might require elevated or administrative privileges. To run these commands, you can use the Run as administrator command.

To run Command Prompt as an administrator

There are two ways to run a Command Prompt as an administrator:

  • Click the Start button, All Programs, then Accessories, right-click Command Prompt, and then click Run as administrator. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

or

  • Click the Start button. In the search box, type Command Prompt, and then, in the list of results, right-click Command Prompt, and then click Run as administrator. If you're prompted for an administrator password or confirmation, type the password or provide confirmation.

Modifying the default locations of user files and library properties in Windows 7

This article will show how to change the default locations of user files and modify the library properties in Windows 7. In a recent article, I showed the default locations for user files in Windows 7. But did you know you can modify them?

You can change the location of the folders in your personal folder (such as My Documents and My Pictures) by redirecting them. For example, if you have a large number of files in your My Documents folder, you might want to store the files on a different hard drive or on a network to free up space on your primary hard drive.

When you redirect a folder to a new location, you change where the folder and files are stored in the folder. However, you'll still be able to access the folder the same way you did before you redirected it.

Geek Tip:

  • Instead of redirecting a folder, you might want to consider including a folder in one of your libraries. For example, if you have a large number of pictures, you can store those pictures in a location other than your primary hard drive, then include that location in your Pictures library. For more information, see below.

To redirect a folder to a new location

  1. From the desktop, left-click on the File Explorer icon on the Taskbar or press the Windows logo key Windows logo key + E.
  2. Navigate to C:\Users\your user name\
  3. Right-click the folder that you want to redirect, and then click Properties.
  4. Click the Location tab, and then click Move.
  5. Browse to the location where you want to redirect this folder. You can select another location on this computer, another drive attached to this computer, or another computer on the network. To find a network location, type two backslashes (\\) into the address bar followed by the name of the location where you want to redirect the folder (for example, \\mylaptop), and then press Enter.
  6. Click the folder where you want to store the files, click Select Folder, and then click OK.
  7. In the dialog that appears, click Yes to move all the files to the new location.

To restore a folder to its original location

  1. From the desktop, left-click on the File Explorer icon on the Taskbar or press the Windows logo key Windows logo key + E.
  2. Navigate to C:\Users\your user name\
  3. Right-click the folder that you previously redirected and want to restore to its original location, and then click Properties.
  4. Click the Location tab, click Restore Default, and then click OK.
  5. Click Yes to recreate the original folder, and then click Yes again to move all the files back to the original folder.

Note:

  • If you don't see the Location tab in a folder's Properties dialog, then the folder can't be redirected. If you see the Location tab but can't edit the folder path, you don't have permission to redirect it.

We are all familiar with files and folders, but with the release of Windows 7, we now have another way to manage them, Libraries. Libraries are where you go to manage your documents, music, pictures, and other files. You can browse your files the same way you would in a folder, or you can view your files arranged by properties like date, type, and author.

In some ways, a library is similar to a folder. For example, when you open a library, you'll see one or more files. However, unlike a folder, a library gathers files that are stored in several locations. This is a subtle but significant difference. Libraries don't hold your items. They monitor folders that contain your items and let you access and arrange the items in different ways. For instance, if you have music files in folders on your hard disk and an external drive you can access all of your music files at once using the Music library.

Windows 7 has four default libraries: Documents, Music, Pictures, and Videos. You can also create new libraries.

Here are some ways you can modify an existing library:

  • Include or remove a folder. Libraries gather content from included folders or library locations. You can include up to 50 folders in one library.
  • Change the default save location. The default save location determines where an item is stored when copied, moved, or saved to the library.
  • Change the type of file a library is optimized for. Each library can be optimized for a specific file type (such as music or pictures). Optimizing a library for a specific file type changes the available options for arranging your files.

To change a library's default save location

A library's default save location determines where an item will be stored when it's copied, moved, or saved to the library.

  1. From the desktop, left-click on the File Explorer icon on the Taskbar or press the Windows logo key Windows logo key + E.
  2. Open the library you'd like to change.
  3. In the library pane (above the file list), next to Includes, click Locations.
  4. In the Library Locations dialog box, right-click a library location that's not currently the default save location, click Set as default save location, and click OK.

To change the type of file a library is optimized for

Each library can be optimized for a specific file type (such as music or pictures). Optimizing a library for a specific file type changes the available options for arranging the files in that library.

  1. From the desktop, left-click on the File Explorer icon on the Taskbar or press the Windows logo key Windows logo key + E.
  2. Right-click the library you'd like to change, and then click Properties.
  3. In the Optimize this library for list, click a file type and then click OK.

Using Remote Desktop Connection on a Netbook

In this article, I would like to show you how to use Remote Desktop Connection. With Remote Desktop Connection, you can have access to a Windows session that is running on your computer when you are on another computer. For example, this means that you can connect to your work computer from home and have access to all of your programs, files, and network resources as though you were sitting at your computer at work. You can leave programs running at work, and when you get home, you can see your work desktop displayed on your home computer, with the same programs running.

When you connect to your computer at work, Remote Desktop automatically locks that computer so that no one else can access your programs and files while you are gone. When you come back to work, you can unlock your computer by pressing CTRL+ALT+DEL.

You can keep your programs running and preserve the state of your Windows session while another user is logged on. When that user logs off, you can reconnect to your session in progress.

And you can even connect two computers running different operating systems. In the following video, I use a Netbook running Windows XP Professional to connect to a workstation running Windows 7.

Note: This video was captured at 1366x768 (using a netbook)

With Fast User Switching, you can easily switch from one user to another on the same computer. For example, suppose you are working at home and have logged on to the computer at your office to update an expense report. While you are working, a family member needs to use your home computer to check for an important e-mail message. You can disconnect Remote Desktop, allow the other user to log on and check e-mail, and then reconnect to the computer at your office, where you will see the expense report exactly as you left it. Fast User Switching works on standalone computers and computers that are members of workgroups.

Remote Desktop can be used in many situations, including:

  • Working at home. Access work in progress on your office computer from home, and have full access to all local and remote devices.
  • Collaborating. Access your desktop from a colleague's office to work together on projects such as updating a slide presentation or proofreading a document.
  • Sharing a console. Allow multiple users to maintain separate program and configuration sessions on a single computer, such as a teller station or a sales desk.

To use Remote Desktop Connection

  • A computer ("host" computer) running Windows XP Professional with Service Pack 2, Windows Server 2003 with Service Pack 2, Windows Vista, Windows Server 2008, Windows 7, Windows 8.1, and Windows 10 ("remote" computer) with a connection to a local area network (LAN) or the Internet.
  • A second computer ("client" computer) with access to the LAN via a network connection, modem, or virtual private network (VPN) connection. This computer must have Remote Desktop Connection installed.
  • Appropriate user accounts and permissions.

Note: If you have Windows XP Service Pack 3 installed, the CredSSP protocol is turned off by default. You will need to enable it to use Network Level Authentication (NLA), which is recommended.

Default locations for user files in Windows 7

Here are the default locations for user files in Windows 7.

Temp Directory
C:\Users\username\AppData\Local\Temp>

Cookies
C:\Users\username\AppData\Roaming\Microsoft\Windows\Cookies>

SendTo
C:\Users\username\AppData\Roaming\Microsoft\Windows\SendTo>

Start Menu
C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu>

Templates
C:\Users\username\AppData\Roaming\Microsoft\Windows\Templates>

Desktop
C:\Users\username\Desktop>

My Documents
C:\Users\username\Documents>

Downloads
C:\Users\username\Downloads>

Favorites
C:\Users\username\Favorites>

My Music
C:\Users\username\Music>

My Pictures
C:\Users\username\Pictures>

My Videos
C:\Users\username\Videos>

Migrating from Windows XP to Windows 7 (Part 6 - Epilogue)

In writing this series of articles about migrating from Windows XP to Windows 7, I have been slowly moving my production time from my old system to the new one (I use a KVM (keyboard, video, and mouse switch)). My old system had some issues and needed to be retired. But as fate would have it, my old system's time had started to run out.

In the middle of last week, I found the old system had lost its ability to recognize USB keyboards and mice. I had to take it off-line and set it up with a PS2 keyboard and mouse. The only item I had left to migrate was my PIM (Personal Information Manager). I use Microsoft Outlook as my PIM and have a Palm TX handheld and an LG Chocolate cell phone to synchronize to Outlook.

But this did allow using Windows Easy Transfer differently. I need to get some of my settings back in-place fast. I had read about pulling the settings from the old system to the new system when they are both on the same network, so I decided to give it a try. I started Windows Easy Transfer on my old computer from the DVD just like I had done before, but this time I choose A Network, and then followed the instructions (basically, starting Windows Easy Transfer on my new computer and entering a key). The Windows Easy Transfer key acts like a password to help protect files and settings when you transfer them over the network. I selected the settings I needed and started the process.

It worked beautifully! It did a great job of bringing in my application settings, especially Microsoft Outlook, as the custom toolbars came right back. But it did not bring it my e-mail addresses or data files. But I did expect at least that, so I had to put the databases in the right locations and set up my e-mail accounts manually.

Also, moving to the 64-bit platform, I knew I would run into driver issues, and sure enough, it did. This problem did not affect me but might be an issue to others who own a Palm handheld or smartphone and use HotSync. I have been using a Bluetooth connection to sync my Palm TX for years, but when I installed the Palm Desktop and HotSync to get the Microsoft Outlook conduits, it wanted a driver for the cable connection. Come to find out that there is no 64-bit USB driver for Palm handhelds and smartphones. Palm recommends using a Bluetooth connection to sync when running 64-bit versions of Windows.

Free computer diagnostics

Repairing a PC can sometimes be expensive, and that is why we offer free basic in-shop diagnostics. Give one of our professional and experienced technicians a call at (602) 795-1111, and let's see what we can do for you.

Check out our reviews

Geeks In Phoenix LLC, BBB Business Review

Customer service is #1

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

Bring your computer to us and save

Repairing a computer can be time-consuming. That is why we base our in-shop service on the time we work on your computer, not the time it takes for your computer to work! From running memory checking software to scanning for viruses, these are processes that can take some time.

Contact us

If you have any questions, please feel free to give us a call at (602) 795-1111  and talk with one of our Geeks. Or you can send us a message from our contact page , and one of our Geeks will get back to you as soon as possible. Or you can stop by and see us. Here are our hours and location.

Like Geeks in Phoenix on Facebook

Follow Geeks in Phoenix on Twitter

Watch Geeks in Phoenix on YouTube