Posts

Showing posts with the label DOS

Map a drive while in the Command Prompt

Image
If you have ever tried to switch to a UNC name while working with the Command Prompt, you have found that it can cause you a problem. What you need is a mapped drive to the UNC path. Using pushd , you can accomplish this. pushd will map to the last available drive (i.e. Z:) and automatically switch you to that drive mapping. Here's the syntax: pushd \\server\share\path For example, \\mycompanyserver\commonfiles\project1 Of course when you're done, you may want to unmap that drive. No problem, use popd . With popd , it will switch you back to the path you were on and unmap the drive letter. Here's the syntax: popd z This is a great solution for those batch files that require a drive mapping, but you do not want to keep the mapping alive all the time.

Use VM to Play Old DOS Games

Do you have some old DOS games that no longer play on your system? I found a way to resurrect these old classics and play them again. As you may recall a while back, I introduced the VM Player as a way to run Firefox in an effort to provide total protection on the Internet. You can use this same idea to run DOS. I have found three solutions: Download Microsoft's Virtual PC and load FreeDOS or another DOS. (Virtual PCs only provide the hardware visualization , you still need to provide the OS.) Use the VM Player and run the Nostalgia appliance . This appliance comes pre -installed with OpenDOS and 8 old DOS games. Use the VM Player and run the FreeDOS appliance (beta). On a related note, apparently there are some hacks you can make to the VM Player environment to create new environments without purchasing the client.