command prompt

You are currently browsing the articles from MS Windows Articles, Reviews and Videos matching the category command prompt.

How to Create Symbolic Links

What Is a ?

A acts (and looks) like a shortcut but provides a to the target file at the file level instead of within .

are used most for backward . It can be used to trick into thinking its accessing files at a location where the files have been moved.

Create a Relative or Absolute

Relative : A relative is a that identifies the location of its target by its location.

For Example: I created a folder called test in the root of C:\. I also created a text file called file2.txt in the folder called test. I’m going to create a relative in the folder test I created called file1.txt to the text file file2.txt.

1. Open the prompt with privileges by clicking Start, All Programs, Accessories, right-click Prompt and then select as .

2. After navigating to the test folder I created I type mklink file1.txt file2.txt in the prompt and then press enter.

Now if you open file1.txt file2.txt actually opens. To prove this, open file2.txt, type something in it and then open the file1.txt .

Note: If the relative is moved the link will not work anymore.

Absolute

An absolute is a that identifies the location of its target by a full path.

Using the example above you’d type mklink file1.txt C:\test\file2.txt.

Note: If you move the to a different location it will still work.
Create a to a Folder

To create a to a folder you’d type mklink file1.txt \\file-server\test\file2.txt or mklink file1.txt Z:\test\file2.txt for a mapped folder.

Tags:, , , , , , , , , , , , ,

Related posts

Written by Jason on July 17th, 2008 with no comments.
Read more articles on 1340 and 1354 and 1426 and 1429 and 1673 and 169 and 2065 and 2157 and 401 and 544 and Compatibility and Contributors and Explorer and Internet and Software and administrator and command and command prompt and how to.

Run Check Disk from System Recovery Options

This shows you run the () from the Options included on the Vista .

So your won’t up and you need to run () on it to try and repair errors on the . This shows you run by booting from the Vista and running from the Options .

Run from a

1. Place a Vista in the drive and restart or turn on your .

2. When asked if you want to from the CD/ press any key on your keyboard to say yes. You might have to press F10 or a similar key to from a CD/. See your manufacturer’s manual for help with that.

3. Once your has booted from the , choose your language options and then click Next.

4. Click Repair your .

5. Select the operating you want to run the on and then click Next.

6. Click in the Options window.

7. Now you have a open where you can run from.

See my on how to use check disk for information on use .

Tags:, , , , , , , , , , , , , , ,

Related posts

Written by Jason on July 12th, 2008 with no comments.
Read more articles on 1354 and 1426 and 1429 and 1673 and 169 and 2065 and 2157 and 401 and 544 and Boot and Check Disk and Contributors and Format and Guide and Prompt and Recovery and Windows Vista and chkdsk and command and command prompt and computer and dvd and dvd drive and hard drive and windows.

Slipstream IE8 into Vista SP1 Images, but Not into XP SP3

In the first half of June 2008, when they gave a taste of the new features cooking for 8 which are planned for integration starting with Beta 2, Jane Maliouta - IE and James Pratt - IE Product pointed out that IE8 would come with slipstream support by default. This is valid as early as the Beta 1 Build of 8, but only with Vista RTM, Vista and Server 2008. has left out of the slipstream equation, this is nothing new for XP, as was also not supported even with 7.

“With and Vista, you are able to integrate into the image of the original operating in about 15 minutes. No more booting the OS image, manually installing IE and re-capturing the image. The support also extends to cumulative updates and language packages. into an OS image will only be supported on Vista and Server 2008 platforms. XP and Server 2003 do not currently offer a solution for components, which are built using update.exe,” Maliouta revealed.

has made it clear that support for ’s integration into the latest client and is a feature aimed at IT Professionals. In this context, users will need the right tools to get the slipstream job done, namely the Automated Install Kit for managing custom Vista and Server 2008 images. The operating directory from the media has to be copied on a local . Maliouta has created c:\\VistaSP1×86en. In the same directory, the following folders have to be created: Mount, Pkg, Sandbox, namely “c:\\mount; c:\\pkg; and c:\\sandbox.” At this point in time, has to be downloaded and placed in the same directory under a folder dubbed ×86en.

Maliouta added that in order “to extract the MSU, in the prompt [users will have to] this

/x: .
Example: c:SlipstreamingIE8×86enIE8-WindowsVista-x86-enu.exe /x: c:SlipstreamingIE8×86en

To expand the MSU, in the prompt this

expand.exe
-F:*.
Example: expand.exe c:SlipstreamingIE8×86enIE8.MSU -F:* c:Slipstreamingpkg

Users will have to mount the install image of Vista into the location on the machine. This can be done via the following at prompt:

“imagex.exe /mountrw install.wim “

Specifically for Vista Ultimate in the context of this scenario this is:

“C: FilesWindows AIKToolsx86imagex.exe” /mountrw C:SlipstreamingVistaSP1×86ensourcesinstall.wim 4 C:Slipstreamingmount

Maliouta explained that introducing a number bigger than 4 will display help information in the prompt which will reveal the specific numbers corresponding to Vista editions. In the end users will have to save changes to the new image now slipstreamed with . The which needs to be is this:

imagex /commit /unmount
Example: “c: FilesWindows AIKToolsx86imagex.exe” /commit /unmount c:Slipstreamingmount

Maliouta warned that as far as the RTM of Vista is concerned users will have to perform another task prior to . This involves modifying the read only attribute flag ahead of running the slipstream .

attrib -R “WindowsOffline Pages”
Example: attrib -R “C:SlipstreamingmountWindowsOffline Pages”

And only then:

pkgmgr.exe /n:
WindowsVista-KB#-NEUTRAL.xml /o:”;” /s: /l:
Example: “c: FilesWindows AIKToolsx86Servicingpkgmgr.exe” /n:”c:SlipstreamingpkgWindows6.0-KB944036 -x86.xml” /o:”"c:Slipstreamingmount”;”c:Slipstreamingmountwindows”" /s: “c:Slipstreamingsandbox” /l:”c:Slipstreamingslp.log”

At the end of the process the read only attribute flag will need to be set back into place:

attrib +R “WindowsOffline Pages”
Example: attrib +R “C:SlipstreamingmountWindowsOffline Pages”

Beta 1 is available for here.
Automated Kit (AIK) 1.0 is available for here.

Tags:, , , , , , , , , , , , ,

Related posts

Written by Jason on June 23rd, 2008 with no comments.
Read more articles on 1354 and 1426 and 1429 and 1673 and 169 and 2065 and 2157 and 401 and 544 and Contributors and IE8 and Internet and Windows Vista and Windows XP and Xp Sp3 and command prompt and internet explorer 8 and sp1 and vista sp1 and windows and windows server.

Command Window Here: Free MS PowerToy for XP

In the last post I have instructions for using the Command Prompt to navigate to a particular folder; however, there is an easier way to do this in Windows XP by installing a PowerToy (this feature is already available in Vista).

To install this feature, look for 'Open Command Window Here' the list of PowerToys on the right hand side of the page and click on CmdHere.exe to download it (or simply click here - if this links stops working please leave a comment). After installing the software, when you right click on a folder icon, or on the empty space within a folder, you will see a new entry in the menu that opens: 'Open Command Window Here'. Click on this to open up a Command Prompt window that will already be focused on the current folder.

There are a number of other PowerToys available, including the excellent Clear Type Tuner, which was the subject of an earlier post. In future posts on this blog, I will look at some of the other tools available to enhance Windows XP.

Written by Stepterix on June 12th, 2008 with no comments.
Read more articles on 1426 and 1429 and 1673 and 169 and 2065 and 2157 and 401 and Contributors and command prompt and freeware.

How to defragment the boot and application files in Windows Vista

1. Open the prompt with administrative privileges by clicking the Start orb, All Programs, Accessories, right-click Prompt, and then click Run as .

2. Type c: -b (assuming you want to files on your C: drive) and then press Enter on your keyboard. You could also type –b to and files on all hard drives.

3. You won’t see any output in the prompt during the process.

4. When it’s finished defragmenting a new line will appear in the prompt.

Note: You can stop a running from the prompt at any time by pressing Ctrl+C on your keyboard.

Tags:, , , , , , , , , ,

Related posts

Written by Jason on June 8th, 2008 with no comments.
Read more articles on 1426 and 1429 and 1673 and 169 and 2065 and 2157 and 401 and Boot and Contributors and Defragment and Windows Vista and administrator and application and command and command prompt and defrag and hard drive and how to and windows.

How to save a list of files in a folder

There are a number of programs available that will create a text file from a list of files in a folder, but here is a quick and easy way of doing the same using the Command Prompt.

Firstly, open up the Command Prompt (aka the MS-DOS Box). To do this either click on 'Run' in the 'Start' menu, or hold down the Windows key and press R (the Windows key is the one with the Windows logo on). In the box that opens type cmd, and either click the 'OK' button or press the Return key. The Command Prompt application should open, looking something like this.


Secondly, you will need to navigate to the folder which contains the files you wish to list. If it is on a different drive type the drive letter followed by colon (e.g. D:) and hit return. Then type cd (change directory) followed by the path of the folder, for example:

cd c:\documents and settings\owner\my documents

On some versions of Windows you only need to type part of the folder name and then press the Tab key and the Command Prompt will fill in the rest, e.g. type cd c:\docu and press Tab to change the command to cd c:\documents and settings.

If you do not know the full path of the folder, you can set Windows Explorer to show it in the address bar or title bar - one of my earlier posts explains how to do this (I would recommend showing the full bath in the address bar). You can copy the path from the address bar and paste it into the command prompt screen by clicking on its icon in the top left hand corner, which opens a drop down menu as shown below.


Once you have navigated to the right folder you can type the command to create a file list in that folder in the form of a text file that can be opened in notepad or your word processor.

Note: Windows Vista includes a feature where you can hold down the Shift key and right-click on the icon of the folder you wish to list the files contained within and select 'Open Command Window Here' from the menu that opens. I will be publishing a post soon which will provide instructions on how to add this feature to Windows XP.


Directory List Command

To create a list of all the files in the folder type dir /a-d /b > filelist.txt and press Return/Enter.

The command includes two switches, /a-d and /b. The first of these stops the dir command. from listing folders; the second prevents the command from showing the extra information you see if you just type dir and hit Return. If you wish the text file to have a different name change it from 'filelist' but remember to put '.txt' at the end so that Windows knows that it is a text file.

The dir command has a variety of other switches, the following command will list the names of all the mp3 files in the current folder and all the sub-folders that it contains:
dir *.mp3 /a-d /s /b > mp3filelist.txt

The *.mp3 part tells the command to only list files with that extension, and the /s sets it to list the files in sub-folders too. Note that the files in the sub-folders will be listed prefixed by the folder name, e.g. 'D:\soulseek\placebo - covers1 Running up That Hill.mp3'.

If you have a particular requirement for a file list leave a comment on this post and I will look into it for you. Also, if anyone is interested in learning more about the various commands and programs available in the Command Prompt please leave a comment.

One last point, you can use > filename.txt to send the results of any command to a text file, which can be very useful if you have to pass information on to a technician.

Now you can impress your friends and co-workers with your 'old skool' techie skills.

Written by Stepterix on June 4th, 2008 with no comments.
Read more articles on 1426 and 1429 and 1673 and 169 and 2065 and 2157 and 401 and Contributors and command prompt.

Access Sysinternals utilities over the web with command prompt

The acquisition that is famous for their useful has a new site up that allows you to easily access any of their for free over the in your . This allows you to run any of their without first downloading it to your . Just open an administrative level and type in:

\\live..com\tools\toolname.exe

For example if you want to run (a great program to see what starts up automatically) type \\live..com\tools\.exe and hit Enter.

Every is available for “live” use.

Available

* accesschk.exe
* AccessEnum.exe
* accvio.EXE
* .exe
* ADInsight.exe
* adrestore.exe
* .exe
* .exe
* autorunsc.exe
* Bginfo.exe
* Cacheset.exe
* Clockres.exe
* Contig.exe
* ctrl2cap.exe
* Dbgview.exe
* .EXE
* diskext.exe
* Diskmnt.exe
* Diskmon.exe
* DiskView.exe
* du.exe
* efsdump.exe
* Filemon.exe
* handle.exe
* hex2dec.exe
* junction.exe
* ldmdump.exe
* Listdlls.exe
* livekd.exe
* LoadOrd.exe
* logonsessions.exe
* movefile.exe
* newsid.exe
* NotMyfault.exe
* ntfsinfo.exe
* pagedfrg.exe
* pendmoves.exe
* PHYSMEM.EXE
* pipelist.exe
* portmon.exe
* procexp.exe
* ProcFeatures.exe
* Procmon.exe
* psexec.exe
* psfile.exe
* psgetsid.exe
* Psinfo.exe
* pskill.exe
* pslist.exe
* psloggedon.exe
* psloglist.exe
* pspasswd.exe
* psservice.exe
* psshutdown.exe
* pssuspend.exe
* RegDelNull.exe
* Reghide.exe
* regjump.exe
* Regmon.exe
* RootkitRevealer.exe
* sdelete.exe
* ShareEnum.exe
* ShellRunas.exe
* sigcheck.exe
* streams.exe
* strings.exe
* .exe
* SysInternalsBluescreen.scr
* tcpvcon.exe
* Tcpview.exe
* Testlimit.exe
* testlimit64.exe
* Volumeid.exe
* whois.exe
* Winobj.exe
* ZoomIt.exe

For a “live” list visit http://live.sysinternals.com/Tools/

Tip: When you are typing in a hit the Tab key to automatically fill in the rest of the file name. E.g. type autor and then hit Tab to get .exe

Tags:, , , , , , , , , , , , , ,

Related posts

Written by Jason on June 3rd, 2008 with no comments.
Read more articles on 1426 and 1429 and 1673 and 169 and 2065 and 2157 and 401 and Contributors and Prompt and Sysinternals and Windows Vista and Windows XP and autologon and command and command prompt and computer and defrag and utilities and windows.

Alternative command prompt for windows

Are you not able to fire up any commands just because your run is not visible in your xp menu?

We have already posted a procedure on how can you restore your run in menu, but still even after following the procedure given there if it does not appear then,

You can try this called Bar which provides an in the task bar, but you will need to activate this new which will reside in your . Bar becomes a part of your and allows you to launch lines from your bar. (as shown in the image below).

It simply adds a in the which Saves time with many features like (Auto-Complete, URL Launcher, and , etc.)

Download Command Prompt Bar

Tags:, , , , , , , , , , , , , , ,

Related posts

Written by Jason on May 21st, 2008 with no comments.
Read more articles on 1426 and 1429 and 1673 and 169 and 2065 and 2157 and 401 and Contributors and Explorer and Internet and Internet Explorer and Prompt and Software and command and command prompt and computer and download and freeware and taskbar and tool and toolbar and windows and windows explorer.

How to change the default font of the command prompt

I don’t know about you but I think the default font of the prompt is ugly and hard to read. This shows you how to change the default font from a Raster font to a Consolas font specially designed for developers.

If your doesn’t have the Consolas font this shows you where to get it and how to configure the prompt to recognize it.

Change the Prompt’s Font

1. Click the Start orb, All Programs, Accessories, and then open the Prompt.

2. Right-click the bar of the prompt and then select Defaults.

3. Select the Font tab.

4. Change the font to and set the size to 14. If you don’t see the font follow the directions below to install it.

5. Click OK to save the changes.

Install the Consolas Font

1. and install the Consolas font from Microsoft.

2. Open an elevated prompt (Start, All Programs, Accessories, right-click Prompt and select Run As Administrator) and then the following: reg add

“HKEY_LOCAL_MACHINE\\\ NT\CurrentVersion\Console\” /v 00 /d Consolas

3. Press Enter on your to add the key.

4. Restart your and follow the instructions under Change the Prompt’s Font above.

Tags:, , , , , , , , , , ,

Related posts

Written by Jason on April 28th, 2008 with no comments.
Read more articles on 1429 and