Xin chào ! Nếu đây là lần đầu tiên bạn đến với diễn đàn, xin vui lòng danh ra một phút bấm vào đây để đăng kí và tham gia thảo luận cùng VnPro.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Một số command trong Windows XP

    Run Commands:
    compmgmt.msc - Computer management
    devmgmt.msc - Device manager
    diskmgmt.msc - Disk management
    dfrg.msc - Disk defrag
    eventvwr.msc - Event viewer
    fsmgmt.msc - Shared folders
    gpedit.msc - Group policies
    lusrmgr.msc - Local users and groups
    perfmon.msc - Performance monitor
    rsop.msc - Resultant set of policies
    secpol.msc - Local security settings
    services.msc - Various Services
    msconfig - System Configuration Utility
    regedit - Registry Editor
    msinfo32 _ System Information
    sysedit _ System Edit
    win.ini _ windows loading information(also system.ini)
    winver _ Shows current version of windows
    mailto: _ Opens default email client
    command _ Opens command prompt

    Run Commands to access the control panel:
    appwiz.cpl -Add/Remove Programs control
    timedate.cpl -Date/Time Properties control
    desk.cpl -Display Properties control
    findfast.cpl -FindFast control
    inetcpl.cpl -Internet Properties control
    main.cpl keyboard -Keyboard Properties control
    main.cpl -Mouse Properties control
    mmsys.cpl -Multimedia Properties control
    netcpl.cpl -Network Properties control
    password.cpl -Password Properties control
    mmsys.cpl sounds -Sound Properties control
    sysdm.cpl -System Properties control
    Phan Hoàng Gia Liêm - Instructor
    Email : gialiem@vnpro.org
    Yahoo : gialiem_vnpro
    -----------------------------------------------------------------------------------------------
    Trung Tâm Tin Học VnPro
    149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
    Tel : (08) 35124257 (5 lines)
    Fax: (08) 35124314

    Home page: http://www.vnpro.vn
    Support Forum: http://www.vnpro.org
    - Chuyên đào tạo quản trị mạng và hạ tầng Internet
    - Phát hành sách chuyên môn
    - Tư vấn và tuyển dụng nhân sự IT
    - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

    Network channel: http://www.dancisco.com
    Blog: http://www.vnpro.org/blog

  • #2
    Command Prompt:
    ANSI.SYS Defines functions that change display graphics, control cursor movement, and reassign keys.
    APPEND Causes MS-DOS to look in other directories when editing a file or running a command.
    ARP Displays, adds, and removes arp information from network devices.
    ASSIGN Assign a drive letter to an alternate letter.
    ASSOC View the file associations.
    AT Schedule a time to execute commands or programs.
    ATMADM Lists connections and addresses seen by Windows ATM call manager.
    ATTRIB Display and change file attributes.
    BATCH Recovery console command that executes a series of commands in a file.
    BOOTCFG Recovery console command that allows a user to view, modify, and rebuild the boot.ini
    BREAK Enable / disable CTRL + C feature.
    CACLS View and modify file ACL's.
    CALL Calls a batch file from another batch file.
    CD Changes directories.
    CHCP Supplement the International keyboard and character set information.
    CHDIR Changes directories.
    CHKDSK Check the hard disk drive running FAT for errors.
    CHKNTFS Check the hard disk drive running NTFS for errors.
    CHOICE Specify a listing of multiple options within a batch file.
    CLS Clears the screen.
    CMD Opens the command interpreter.
    COLOR Easily change the foreground and background color of the MS-DOS window.
    COMP Compares files.
    COMPACT Compresses and uncompress files.
    CONTROL Open control panel icons from the MS-DOS prompt.
    CONVERT Convert FAT to NTFS.
    COPY Copy one or more files to an alternate location.
    ***Y Change the computers input/output devices.
    DATE View or change the systems date.
    DEBUG Debug utility to create assembly programs to modify hardware settings.
    DEFRAG Re-arrange the hard disk drive to help with loading programs.
    DEL Deletes one or more files.
    DELETE Recovery console command that deletes a file.
    DELTREE Deletes one or more files and/or directories.
    DIR List the contents of one or more directory.
    DISABLE Recovery console command that disables Windows system services or drivers.
    DISKCOMP Compare a disk with another disk.
    DISKCOPY Copy the contents of one disk and place them on another disk.
    DOSKEY Command to view and execute commands that have been run in the past.
    DOSSHELL A GUI to help with early MS-DOS users.
    DRIVPARM Enables overwrite of original device drivers.
    ECHO Displays messages and enables and disables echo.
    EDIT View and edit files.
    EDLIN View and edit files.
    EMM386 Load extended Memory Manager.
    ENABLE Recovery console command to enable a disable service or driver.
    ENDLOCAL Stops the localization of the environment changes enabled by the setlocal command.
    ERASE Erase files from computer.
    EXIT Exit from the command interpreter.
    EXPAND Expand a M*cros*ft Windows file back to it's original format.
    EXTRACT Extract files from the M*cros*ft Windows cabinets.
    FASTHELP Displays a listing of MS-DOS commands and information about them.
    FC Compare files.
    FDISK Utility used to create partitions on the hard disk drive.
    FIND Search for text within a file.
    FINDSTR Searches for a string of text within a file.
    FIXBOOT Writes a new boot sector.
    FIXMBR Writes a new boot record to a disk drive.
    FOR Boolean used in batch files.
    FORMAT Command to erase and prepare a disk drive.
    FTP Command to connect and operate on a FTP server.
    FTYPE Displays or modifies file types used in file extension associations.
    GOTO Moves a batch file to a specific label or location.
    GRAFTABL Show extended characters in graphics mode.
    HELP Display a listing of commands and brief explanation.
    IF Allows for batch files to perform conditional processing.
    IFSHLP.SYS 32-bit file manager.
    IPCONFIG Network command to view network adapter settings and assigned values.
    KEYB Change layout of keyboard.
    LABEL Change the label of a disk drive.
    LH Load a device driver in to high memory.
    LISTSVC Recovery console command that displays the services and drivers.
    LOADFIX Load a program above the first 64k.
    LOADHIGH Load a device driver in to high memory.
    LOCK Lock the hard disk drive.
    LOGON Recovery console command to list installations and enable administrator login.
    MAP Displays the device name of a drive.
    MD Command to create a new directory.
    MEM Display memory on system.
    MKDIR Command to create a new directory.
    MODE Modify the port or display settings.
    MORE Display one page at a time.
    MOVE Move one or more files from one directory to another directory.
    MSAV Early M*cros*ft Virus scanner.
    MSD Diagnostics utility.
    MSCDEX Utility used to load and provide access to the CD-ROM.
    NBTSTAT Displays protocol statistics and current TCP/IP connections using NBT
    NET Update, fix, or view the network or network settings
    NETSH Configure dynamic and static network information from MS-DOS.
    NETSTAT Display the TCP/IP network protocol statistics and information.
    NLSFUNC Load country specific information.
    NSLOOKUP Look up an IP address of a domain or host on a network.
    PATH View and modify the computers path location.
    PATHPING View and locate locations of network latency.
    PAUSE Command used in batch files to stop the processing of a command.
    PING Test / send information to another network computer or network device.
    POPD Changes to the directory or network path stored by the pushd command.
    POWER Conserve power with computer portables.
    PRINT Prints data to a printer port.
    PROMPT View and change the MS-DOS prompt.
    PUSHD Stores a directory or network path in memory so it can be returned to at any time.
    QBASIC Open the QBasic.
    RD Removes an empty directory.
    REN Renames a file or directory.
    RENAME Renames a file or directory.
    RMDIR Removes an empty directory.
    ROUTE View and configure windows network route tables.
    RUNAS Enables a user to execute a program on another computer.
    SCANDISK Run the scandisk utility.
    SCANREG Scan registry and recover registry from errors.
    SET Change one variable or string to another.
    SETLOCAL Enables local environments to be changed without affecting anything else.
    SETVER Change MS-DOS version to trick older MS-DOS programs.
    SHARE Installs support for file sharing and locking capabilities.
    SHIFT Changes the position of replaceable parameters in a batch program.
    SHUTDOWN Shutdown the computer from the MS-DOS prompt.
    SMARTDRV Create a disk cache in conventional memory or extended memory.
    SORT Sorts the input and displays the output to the screen.
    START Start a separate window in Windows from the MS-DOS prompt.
    SUBST Substitute a folder on your computer for another drive letter.
    SWITCHES Remove add functions from MS-DOS.
    SYS Transfer system files to disk drive.
    TELNET Telnet to another computer / device from the prompt.
    TIME View or modify the system time.
    TITLE Change the title of their MS-DOS window.
    TRACERT Visually view a network packets route across a network.
    TREE View a visual tree of the hard disk drive.
    TYPE Display the contents of a file.
    UNDELETE Undelete a file that has been deleted.
    UNFORMAT Unformat a hard disk drive.
    UNLOCK Unlock a disk drive.
    VER Display the version information.
    VERIFY Enables or disables the feature to determine if files have been written properly.
    VOL Displays the volume information about the designated drive.
    XCOPY Copy multiple files, directories, and/or drives from one location to another.
    TRUENAME When placed before a file, will display the whole directory in which it exists
    TASKKILL It allows you to kill those unneeded or locked up applications
    Phan Hoàng Gia Liêm - Instructor
    Email : gialiem@vnpro.org
    Yahoo : gialiem_vnpro
    -----------------------------------------------------------------------------------------------
    Trung Tâm Tin Học VnPro
    149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
    Tel : (08) 35124257 (5 lines)
    Fax: (08) 35124314

    Home page: http://www.vnpro.vn
    Support Forum: http://www.vnpro.org
    - Chuyên đào tạo quản trị mạng và hạ tầng Internet
    - Phát hành sách chuyên môn
    - Tư vấn và tuyển dụng nhân sự IT
    - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

    Network channel: http://www.dancisco.com
    Blog: http://www.vnpro.org/blog

    Comment


    • #3
      Command Prompt:
      SC
      DESCRIPTION:
      SC is a command line program used for communicating with the
      NT Service Controller and services.
      USAGE:
      sc <server> [command] [service name] <option1> <option2>...

      The option <server> has the form "\\ServerName"
      Further help on commands can be obtained by typing: "sc [command]"
      Commands:
      query-----------Queries the status for a service, or
      enumerates the status for types of services.
      queryex---------Queries the extended status for a service, or
      enumerates the status for types of services.
      start-----------Starts a service.
      pause-----------Sends a PAUSE control request to a service.
      interrogate-----Sends an INTERROGATE control request to a service.
      continue--------Sends a CONTINUE control request to a service.
      stop------------Sends a STOP request to a service.
      config----------Changes the configuration of a service (persistant).
      description-----Changes the description of a service.
      failure---------Changes the actions taken by a service upon failure.
      qc--------------Queries the configuration information for a service.
      qdescription----Queries the description for a service.
      qfailure--------Queries the actions taken by a service upon failure.
      delete----------Deletes a service (from the registry).
      create----------Creates a service. (adds it to the registry).
      control---------Sends a control to a service.
      sdshow----------Displays a service's security descriptor.
      sdset-----------Sets a service's security descriptor.
      GetDisplayName--Gets the DisplayName for a service.
      GetKeyName------Gets the ServiceKeyName for a service.
      EnumDepend------Enumerates Service Dependencies.

      The following commands don't require a service name:
      sc <server> <command> <option>
      boot------------(ok | bad) Indicates whether the last boot should
      be saved as the last-known-good boot configuration
      Lock------------Locks the Service Database
      QueryLock-------Queries the LockStatus for the SCManager Database
      Phan Hoàng Gia Liêm - Instructor
      Email : gialiem@vnpro.org
      Yahoo : gialiem_vnpro
      -----------------------------------------------------------------------------------------------
      Trung Tâm Tin Học VnPro
      149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
      Tel : (08) 35124257 (5 lines)
      Fax: (08) 35124314

      Home page: http://www.vnpro.vn
      Support Forum: http://www.vnpro.org
      - Chuyên đào tạo quản trị mạng và hạ tầng Internet
      - Phát hành sách chuyên môn
      - Tư vấn và tuyển dụng nhân sự IT
      - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

      Network channel: http://www.dancisco.com
      Blog: http://www.vnpro.org/blog

      Comment


      • #4
        Thanks muội muội. Muội muội ơi, VISTA có thêm các commend khác không. Vì khám phá Commend cũng hay lắm.

        Hãy cho nhau những gì mình đang có
        Lỡ mai này không có để cho nhau

        Comment


        • #5
          Command trong Vista cũng tương đương trong XP tuy nhiên có thêm một số command mới. Muội gởi phamtuan1129 tham khảo thêm

          ASSOC Displays or modifies file extension associations.
          ATTRIB Displays or changes file attributes.
          BREAK Sets or clears extended CTRL+C checking.
          *BCDEDIT Sets properties in boot database to control boot loading.
          CACLS Displays or modifies access control lists (ACLs) of files.
          CALL Calls one batch program from another.
          CD Displays the name of or changes the current directory.
          CHCP Displays or sets the active code page number.
          CHDIR Displays the name of or changes the current directory.
          CHKDSK Checks a disk and displays a status report.
          CHKNTFS Displays or modifies the checking of disk at boot time.
          *CHOICE Batch file command that allows users to select from a set of options.
          CIPHER Displays or alters the encryption of directories [files] on NTFS partitions.
          *CLIP Redirects output of another command to the Windows clipboard.
          CLS Clears the screen.
          CMD Starts a new instance of the Windows command interpreter.
          *CMDKEY Creates, lists and deletes stored user names and passwords or credentials.
          COLOR Sets the default console foreground and background colors.
          COMP Compares the contents of two files or sets of files.
          COMPACT Displays or alters the compression of files on NTFS partitions.
          CONVERT Converts FAT volumes to NTFS. You cannot convert the current drive.
          COPY Copies one or more files to another location.
          DATE Displays or sets the date.
          DEFRAG Disk defragmenter accessory.
          DEL Deletes one or more files.
          DIR Displays a list of files and subdirectories in a directory.
          DISKCOMP Compares the contents of two floppy disks.
          DISKCOPY Copies the contents of one floppy disk to another.
          DISKPART Displays or configures Disk Partition properties.
          DOSKEY Edits command lines, recalls Windows commands, and creates macros.
          DRIVERQUERY Displays current device driver status and properties.
          ECHO Displays messages, or turns command echoing on or off.
          ENDLOCAL Ends localization of environment changes in a batch file.
          ERASE Deletes one or more files.
          EXIT Quits and closes the command shell.
          EXPAND Expands one or more compressed files.
          FC Compares two files or sets of files, and displays the differences between them.
          FIND Searches for a text string in a file or files.
          FINDSTR Searches for strings in files.
          FOR Runs a specified command for each item in a set.
          *FORFILES Selects files in a folder for batch processing.
          FORMAT Formats a disk for use with Windows.
          FSUTIL Displays or configures the file system properties.
          FTYPE Displays or modifies file types used in file extension associations.
          GOTO Directs the Windows command interpreter to a labeled line in a batch program.
          GPRESULT Displays Group Policy information for machine or user.
          GRAFTABL Enables Windows to display an extended character set in graphics mode.
          HELP Provides Help information for Windows commands.
          *ICACLS Display, modify, backup, or restore ACLs for files and directories (more here).
          IF Performs conditional processing in batch programs.
          LABEL Creates, changes, or deletes the volume label of a disk.
          MD Creates a directory.
          MKDIR Creates a directory.
          *MKLINK Creates Symbolic Links and Hard Links
          MODE Configures a system device.
          MORE Displays output one screen at a time.
          MOVE Moves one or more files from one directory to another directory.
          OPENFILES Queries, displays, or disconnects open files or files opened by network users.
          PATH Displays or sets a search path for executable files.
          PAUSE Suspends processing of a batch file and displays a message.
          POPD Restores the previous value of the current directory saved by PUSHD.
          PRINT Prints a text file.
          PROMPT Changes the Windows command prompt.
          PUSHD Saves the current directory then changes it.
          RD Removes a directory.
          RECOVER Recovers readable information from a bad or defective disk.
          REM Designates comments (remarks) in batch files
          REN Renames a file or files.
          RENAME Renames a file or files.
          REPLACE Replaces files.
          RMDIR Removes a directory.
          ROBOCOPY Advanced utility to copy files and directory trees
          SET Displays, sets, or removes environment variables for current session.
          SETLOCAL Begins localization of environment changes in a batch file.
          SETX Sets environment variables.
          SC Displays or configures services (background processes).
          SCHTASKS Schedules commands and programs to run on a computer.
          SHIFT Shifts the position of replaceable parameters in batch files.
          SHUTDOWN Allows proper local or remote shutdown of machine.
          SORT Sorts input.
          START Starts a separate window to run a specified program or command.
          SUBST Associates a path with a drive letter.
          SYSTEMINFO Displays machine specific properties and configuration.
          *TAKEOWN Allows an administrator to take ownership of a file (more here).
          TASKLIST Displays all currently running tasks including services.
          TASKKILL Kill or stop a running process or application.
          TIME Displays or sets the system time.
          *TIMEOUT Pauses the command processor for the specified number of seconds.More here.
          TITLE Sets the window title for a CMD.EXE session.
          TREE Graphically displays the directory structure of a drive or path.
          TYPE Displays the contents of a text file.
          VER Displays the Windows version.
          VERIFY Tells Windows whether to verify that your files are written correctly to a disk.
          VOL Displays a disk volume label and serial number.
          *VSSADMIN Volume Shadow Copy Service administration tool
          *WHERE Displays the location of files that match a search pattern.
          XCOPY Copies files and directory trees.
          WMIC Displays WMI information inside interactive command shell.
          Phan Hoàng Gia Liêm - Instructor
          Email : gialiem@vnpro.org
          Yahoo : gialiem_vnpro
          -----------------------------------------------------------------------------------------------
          Trung Tâm Tin Học VnPro
          149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
          Tel : (08) 35124257 (5 lines)
          Fax: (08) 35124314

          Home page: http://www.vnpro.vn
          Support Forum: http://www.vnpro.org
          - Chuyên đào tạo quản trị mạng và hạ tầng Internet
          - Phát hành sách chuyên môn
          - Tư vấn và tuyển dụng nhân sự IT
          - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

          Network channel: http://www.dancisco.com
          Blog: http://www.vnpro.org/blog

          Comment


          • #6
            Sau này cũng có thêm công cụ nữa gọi là Power Shell. Đây là một trong những lệnh cơ bạn của power shell dùng trong winXP. Công cụ này khá phức tạp còn có khả năng viết script nữa.

            Add-Content
            Add-History
            Add-Member
            Add-PSSnapin
            Clear-Content
            Clear-Item
            Clear-ItemProperty
            Clear-Variable
            Compare-Object
            ConvertFrom-SecureString
            Convert-Path
            ConvertTo-Html
            ConvertTo-SecureString
            Copy-Item
            Copy-ItemProperty
            Export-Alias
            Export-Clixml
            Export-Console
            Export-Csv
            ForEach-Object
            Format-Custom
            Format-List
            Format-Table
            Format-Wide
            Get-Acl
            Get-Alias
            Get-AuthenticodeSignature
            Get-ChildItem
            Get-Command
            Get-Content
            Get-Credential
            Get-Culture
            Get-Date
            Get-EventLog
            Get-ExecutionPolicy
            Get-Help
            Get-History
            Get-Host
            Get-Item
            Get-ItemProperty
            Get-Location
            Get-Member
            Get-PfxCertificate
            Get-Process
            Get-PSDrive
            Get-PSProvider
            Get-PSSnapin
            Get-Service
            Get-TraceSource
            Get-UICulture
            Get-Unique
            Get-Variable
            Get-WmiObject
            Group-Object
            Import-Alias
            Import-Clixml
            Import-Csv
            Invoke-Expression
            Invoke-History
            Invoke-Item
            Join-Path
            Measure-Command
            Measure-Object
            Move-Item
            Move-ItemProperty
            New-Alias
            New-Item
            New-ItemProperty
            New-Object
            New-PSDrive
            New-Service
            New-TimeSpan
            New-Variable
            Out-Default
            Out-File
            Out-Host
            Out-Null
            Out-Printer
            Out-String
            Pop-Location
            Push-Location
            Read-Host
            Remove-Item
            Remove-ItemProperty
            Remove-PSDrive
            Remove-PSSnapin
            Remove-Variable
            Rename-Item
            Rename-ItemProperty
            Resolve-Path
            Restart-Service
            Resume-Service
            Select-Object
            Select-String
            Set-Acl
            Set-Alias
            Set-AuthenticodeSignature
            Set-Content
            Set-Date
            Set-ExecutionPolicy
            Set-Item
            Set-ItemProperty
            Set-Location
            Set-PSDebug
            Set-Service
            Set-TraceSource
            Set-Variable
            Sort-Object
            Split-Path
            Start-Service
            Start-Sleep
            Start-Transcript
            Stop-Process
            Stop-Service
            Stop-Transcript
            Suspend-Service
            Tee-Object
            Test-Path
            Trace-Command
            Update-FormatData
            Update-TypeData
            Where-Object
            Write-Debug
            Write-Error
            Write-Host
            Write-Output
            Write-Progress
            Write-Verbose
            Write-Warning
            Phan Hoàng Gia Liêm - Instructor
            Email : gialiem@vnpro.org
            Yahoo : gialiem_vnpro
            -----------------------------------------------------------------------------------------------
            Trung Tâm Tin Học VnPro
            149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
            Tel : (08) 35124257 (5 lines)
            Fax: (08) 35124314

            Home page: http://www.vnpro.vn
            Support Forum: http://www.vnpro.org
            - Chuyên đào tạo quản trị mạng và hạ tầng Internet
            - Phát hành sách chuyên môn
            - Tư vấn và tuyển dụng nhân sự IT
            - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

            Network channel: http://www.dancisco.com
            Blog: http://www.vnpro.org/blog

            Comment


            • #7
              Tips for Using the Vista Command Shell Command-line tips specific to Windows Vista are given.
              For the most part, the features of the command line are the same in Vista as they are in Windows XP but there are some differences. (The Vista version is 6.0 whereas the XP version is 5.1.) Here are some tips that apply only to Vista.
              Run as administrator in Vista

              The Windows Vista operating system has a security feature called User Account Control that limits the privileges of users by default. Since the command line is usually involved with administrative tasks, you'll often want to run as an administrator. This can be done each time by right-clicking the icon for the command prompt and choosing "Run as" from the context menu . A more convenient way is to set the command prompt to run with administrator privileges by default. Right-click the command prompt shortcut icon and choose "Properties" from the context menu. Click the "Advanced" button and put a check by "Run as administrator". Click "OK". Note that you will still get the UAC message when you open the command prompt.
              Another way to run the command prompt as administrator is to enter "cmd" in Start Search and then use the keyboard combination Ctrl+Shift+ Enter.
              "Open Command Window Here" in Vista

              It is now easy to open a command prompt referenced to a folder of your choice in Vista. If the Shift key is held down while right-clicking a folder, the context menu will contain an entry, "Open Command Window Here". Selecting this entry will open a command prompt with the chosen folder as the reference point for commands.
              Open command window with administrator privileges anywhere

              The "Run as administrator" option mentioned above always opens with \Windows\System 32\ as the working directory. To open a command console with administrator privileges in any directory of choice, you can add a command to the right-click context menu. The INF file to make the appropriate Registry edit can be downloaded here. It is from the PowerToy utility described at this link.
              Send command output to the Windows clipboard with clip.exe

              Vista comes with a command-line utility clip.exe that can be used to redirect or pipe the output of another command to the Windows clipboard. The command uses a "pipe" and has the form: somecommand | clipFor example, to send a directory listing to the clipboard, the command is: dir | clip
              Place the contents of a text file into the Windows clipboard with clip.exe

              The utility clip.exe can also be used to read a text file and place its contents in the Windows clipboard. The command has the form: clip < somefile.txt
              The batch file command called "choice" is back in Vista

              Oldtimers will remember that DOS had a command for batch files called "choice" that allowed for some limited user interaction. The command was then removed from 32-bit command shells because the "set /p" option gave equivalent or better functionality. However, "choice" is back in Vista in a new form. Enter "choice /?" in a Vista command prompt for details about its features.
              Use the "choice" command to make a Vista batch file wait

              One useful application of the "choice" command is to make a batch file pause for a specified period of time. The statement has the form: choice /T n /D y > nul The switch "/T n" specifies a wait period of n seconds. The switch "/D y" creates a default choice of "yes". To suppress the unwanted text output of the command, it is redirected to the null device (nul).
              Use the "timeout" command to make a Vista batch file wait

              Another new command in in Vista is "timeout". It will cause the command processor to wait for a specified number of seconds or until a key is pressed. The format is timeout /T n where n is the number of seconds to wait. To make the command ignore any key presses, the switch /nobreak can be added: timeout /T n /nobreak Because the command gives output listing the time remaining, it may be necessary to use a redirect to nul. timeout /T n > nul
              Switch added to "Dir" to enable viewing Alternate Data Streams

              NTFS files can have added information in "streams" or "forks". These added items are normally hidden from access by most Windows functions such as Explorer. In Vista a switch /R has been added to the "dir" command that allows alternate data streams to be listed.
              Enable the built-in master administrator account on the log-in screen

              Vista contains a master administrator account but it is not normally visible on the log-in screen. To enable it, open a command window with administrator privileges and use the command net user administrator /active:yes (Make sure that you assign a password to the account.) To remove the account from the log-in screen, use the command net user administrator /active:no
              Reduce the space used by System Restore

              System Restore can use up to 15% of a hard drive for its backup files (shadow storage). As hard drives get ever bigger, that becomes a lot of space. The command "vssadmin" can be used to administer settings for System Restore. To control the space allocation, open a command prompt with administrator privileges and enter vssadmin Resize ShadowStorage /For=C: /On=C: /Maxsize=[n] For [n] enter the desired size in MB or GB. The units must be stated: for example, "Maxsize=500MB" or "Maxsize=2GB". The example is for the C: drive. WARNING! This may delete all or many of your old Restore Points!
              Increase the file system memory cache

              If you tend to open and close a lot of files, you may be able to increase performance by creating a larger value for a special cache setting with the file system utility command fsutil behavior set memoryusage 2According to Microsoft, this increases something called the "paged pool" memory. Do not use if you are already consuming large amounts of system memory with other activities. If performance after the change is unsatisfactory, undo it with the commandfsutil behavior set memoryusage 1These commands require administrator privileges. The commands change a Registry setting and take effect after a reboot.
              Use "takeown" to access certain files

              Vista protects many system files for security reasons and even an administrator is not allowed to access them. If you are denied access to a file while in an administrator account, you can use the command line tool "takeown.exe" to reassign ownership. You will need to run the command from a command prompt with administrator privileges. The syntax is takeown /f some_file [/a] [/r]The specified filename can contain wildcards. You can also specify a folder. The optional switch "/a" transfers ownership to the administrators group. If omitted, the default is to transfer ownership to the present user account. The switch "/r" recurses subdirectories. Although this command assigns ownership, it does not give control rights. Thus if you wish to modify a system file (often not a good idea) you will probably have also to apply the "icacls" command discussed next.
              Obtain control rights to a file with "icacls"

              (Icacls.exe supersedes the "cacls" command of Windows XP. The older command is still available, however.) This command has a rather complex set of options. They can be displayed by entering "icacls /?" in a command prompt. One example is the command to grant full access rights to an account named user:icacls file_name /grant user:F
              Clean up Vista SP1 files

              When you install Vista service pack 1, a facility for uninstalling it is also created. If you have SP1 installed for a while and are satisfied that you will keep it, you can remove the uninstall files and free up almost a GB of disk space. To remove the backup files, use the command VSP1CLN.EXE (I have used caps to make the difference between "one" and "ell" clear but case doesn't matter.) Administrator privileges are required. After running this command, you will be unable to uninstall Vista SP1 so be sure you really want to keep it.
              Using drag and drop- not

              The useful capability to drag commands and drop them into a command prompt that was present in past versions of Windows does not work in Vista.
              Phan Hoàng Gia Liêm - Instructor
              Email : gialiem@vnpro.org
              Yahoo : gialiem_vnpro
              -----------------------------------------------------------------------------------------------
              Trung Tâm Tin Học VnPro
              149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
              Tel : (08) 35124257 (5 lines)
              Fax: (08) 35124314

              Home page: http://www.vnpro.vn
              Support Forum: http://www.vnpro.org
              - Chuyên đào tạo quản trị mạng và hạ tầng Internet
              - Phát hành sách chuyên môn
              - Tư vấn và tuyển dụng nhân sự IT
              - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

              Network channel: http://www.dancisco.com
              Blog: http://www.vnpro.org/blog

              Comment


              • #8
                Run Commands To Access The Control Panel:
                Code:
                Add/Remove Programs control appwiz.cpl  
                Date/Time Properties control timedate.cpl  
                Display Properties control desk.cpl  
                FindFast control findfast.cpl  
                Fonts Folder control fonts  
                Internet Properties control inetcpl.cpl  
                Keyboard Properties control main.cpl keyboard  
                Mouse Properties control main.cpl  
                Multimedia Properties control mmsys.cpl  
                Network Properties control netcpl.cpl  
                Password Properties control password.cpl  
                Printers Folder control printers  
                Sound Properties control mmsys.cpl sounds  
                System Properties control sysdm.cpl
                Phan Hoàng Gia Liêm - Instructor
                Email : gialiem@vnpro.org
                Yahoo : gialiem_vnpro
                -----------------------------------------------------------------------------------------------
                Trung Tâm Tin Học VnPro
                149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
                Tel : (08) 35124257 (5 lines)
                Fax: (08) 35124314

                Home page: http://www.vnpro.vn
                Support Forum: http://www.vnpro.org
                - Chuyên đào tạo quản trị mạng và hạ tầng Internet
                - Phát hành sách chuyên môn
                - Tư vấn và tuyển dụng nhân sự IT
                - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

                Network channel: http://www.dancisco.com
                Blog: http://www.vnpro.org/blog

                Comment


                • #9
                  Windows XP Shortcuts:

                  Code:
                  ALT+- (ALT+hyphen) Displays the Multiple Document Interface (MDI) child window's System menu  
                  ALT+ENTER View properties for the selected item  
                  ALT+ESC Cycle through items in the order they were opened  
                  ALT+F4 Close the active item, or quit the active program  
                  ALT+SPACEBAR Display the System menu for the active window  
                  ALT+TAB Switch between open items  
                  ALT+Underlined letter Display the corresponding menu  
                  BACKSPACE View the folder one level up in My Computer or Windows Explorer  
                  CTRL+A Select all  
                  CTRL+B Bold  
                  CTRL+C Copy  
                  CTRL+I Italics  
                  CTRL+O Open an item  
                  CTRL+U Underline  
                  CTRL+V Paste  
                  CTRL+X Cut  
                  CTRL+Z Undo  
                  CTRL+F4 Close the active document  
                  CTRL while dragging Copy selected item  
                  CTRL+SHIFT while dragging Create shortcut to selected iteM  
                  CTRL+RIGHT ARROW Move the insertion point to the beginning of the next word  
                  CTRL+LEFT ARROW Move the insertion point to the beginning of the previous word  
                  CTRL+DOWN ARROW Move the insertion point to the beginning of the next paragraph  
                  CTRL+UP ARROW Move the insertion point to the beginning of the previous paragraph  
                  SHIFT+DELETE Delete selected item permanently without placing the item in the Recycle Bin  
                  ESC Cancel the current task  
                  F1 Displays Help  
                  F2 Rename selected item  
                  F3 Search for a file or folder  
                  F4 Display the Address bar list in My Computer or Windows Explorer  
                  F5 Refresh the active window  
                  F6 Cycle through screen elements in a window or on the desktop  
                  F10 Activate the menu bar in the active program  
                  SHIFT+F10 Display the shortcut menu for the selected item  
                  CTRL+ESC Display the Start menu  
                  SHIFT+CTRL+ESC Launches Task Manager  
                  SHIFT when you insert a CD Prevent the CD from automatically playing  
                  WIN Display or hide the Start menu  
                  WIN+BREAK Display the System Properties dialog box  
                  WIN+D Minimizes all Windows and shows the Desktop  
                  WIN+E Open Windows Explorer  
                  WIN+F Search for a file or folder  
                  WIN+F+CTRL Search for computers  
                  WIN+L Locks the desktop  
                  WIN+M Minimize or restore all windows  
                  WIN+R Open the Run dialog box  
                  WIN+TAB Switch between open items
                  Phan Hoàng Gia Liêm - Instructor
                  Email : gialiem@vnpro.org
                  Yahoo : gialiem_vnpro
                  -----------------------------------------------------------------------------------------------
                  Trung Tâm Tin Học VnPro
                  149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
                  Tel : (08) 35124257 (5 lines)
                  Fax: (08) 35124314

                  Home page: http://www.vnpro.vn
                  Support Forum: http://www.vnpro.org
                  - Chuyên đào tạo quản trị mạng và hạ tầng Internet
                  - Phát hành sách chuyên môn
                  - Tư vấn và tuyển dụng nhân sự IT
                  - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

                  Network channel: http://www.dancisco.com
                  Blog: http://www.vnpro.org/blog

                  Comment


                  • #10
                    Windows Explorer Shortcuts:
                    ALT+SPACEBAR - Display the current window’s system menu
                    SHIFT+F10 - Display the item's context menu
                    CTRL+ESC - Display the Start menu
                    ALT+TAB - Switch to the window you last used
                    ALT+F4 - Close the current window or quit
                    CTRL+A - Select all items
                    CTRL+X - Cut selected item(s)
                    CTRL+C - Copy selected item(s)
                    CTRL+V - Paste item(s)
                    CTRL+Z - Undo last action
                    CTRL+(+) - Automatically resize the columns in the right hand pane
                    TAB - Move forward through options
                    ALT+RIGHT ARROW - Move forward to a previous view
                    ALT+LEFT ARROW - Move backward to a previous view
                    SHIFT+DELETE - Delete an item immediately
                    BACKSPACE - View the folder one level up
                    ALT+ENTER - View an item’s properties
                    F10 - Activate the menu bar in programs
                    F6 - Switch between left and right panes
                    F5 - Refresh window contents
                    F3 - Display Find application
                    F2 - Rename selected item
                    Phan Hoàng Gia Liêm - Instructor
                    Email : gialiem@vnpro.org
                    Yahoo : gialiem_vnpro
                    -----------------------------------------------------------------------------------------------
                    Trung Tâm Tin Học VnPro
                    149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
                    Tel : (08) 35124257 (5 lines)
                    Fax: (08) 35124314

                    Home page: http://www.vnpro.vn
                    Support Forum: http://www.vnpro.org
                    - Chuyên đào tạo quản trị mạng và hạ tầng Internet
                    - Phát hành sách chuyên môn
                    - Tư vấn và tuyển dụng nhân sự IT
                    - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

                    Network channel: http://www.dancisco.com
                    Blog: http://www.vnpro.org/blog

                    Comment


                    • #11
                      Internet Explorer Shortcuts:
                      CTRL+A - Select all items on the current page
                      CTRL+D - Add the current page to your Favorites
                      CTRL+E - Open the Search bar
                      CTRL+F - Find on this page
                      CTRL+H - Open the History bar
                      CTRL+I - Open the Favorites bar
                      CTRL+N - Open a new window
                      CTRL+O - Go to a new location
                      CTRL+P - Print the current page or active frame
                      CTRL+S - Save the current page
                      CTRL+W - Close current browser window
                      CTRL+ENTER - Adds the http://www. (url) .com
                      SHIFT+CLICK - Open link in new window
                      BACKSPACE - Go to the previous page
                      ALT+HOME - Go to your Home page
                      HOME - Move to the beginning of a document
                      TAB - Move forward through items on a page
                      END - Move to the end of a document
                      ESC - Stop downloading a page
                      F11 - Toggle full-screen view
                      F5 - Refresh the current page
                      F4 - Display list of typed addresses
                      F6 - Change Address bar and page focus
                      ALT+RIGHT ARROW - Go to the next page
                      SHIFT+CTRL+TAB - Move back between frames
                      SHIFT+F10 - Display a shortcut menu for a link
                      SHIFT+TAB - Move back through the items on a page
                      CTRL+TAB - Move forward between frames
                      CTRL+C - Copy selected items to the clipboard
                      CTRL+V - Insert contents of the clipboard
                      ENTER - Activate a selected link
                      HOME - Move to the beginning of a document
                      END - Move to the end of a document
                      F1 - Display Internet Explorer Help
                      Phan Hoàng Gia Liêm - Instructor
                      Email : gialiem@vnpro.org
                      Yahoo : gialiem_vnpro
                      -----------------------------------------------------------------------------------------------
                      Trung Tâm Tin Học VnPro
                      149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
                      Tel : (08) 35124257 (5 lines)
                      Fax: (08) 35124314

                      Home page: http://www.vnpro.vn
                      Support Forum: http://www.vnpro.org
                      - Chuyên đào tạo quản trị mạng và hạ tầng Internet
                      - Phát hành sách chuyên môn
                      - Tư vấn và tuyển dụng nhân sự IT
                      - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

                      Network channel: http://www.dancisco.com
                      Blog: http://www.vnpro.org/blog

                      Comment


                      • #12
                        Accessibility Shortcuts
                        Tap SHIFT 5 times - Toggles StickyKeys on and off.
                        Press down and hold the right SHIFT key for 8 seconds - Toggles FilterKeys on and off.
                        Press down and hold the NUM LOCK key for 5 seconds - Toggles ToggleKeys on and off.
                        Left ALT+left SHIFT+NUM LOCK - Toggles MouseKeys on and off.
                        Left ALT+left SHIFT+PRINT SCREEN - Toggles High Contrast on and off.
                        Phan Hoàng Gia Liêm - Instructor
                        Email : gialiem@vnpro.org
                        Yahoo : gialiem_vnpro
                        -----------------------------------------------------------------------------------------------
                        Trung Tâm Tin Học VnPro
                        149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
                        Tel : (08) 35124257 (5 lines)
                        Fax: (08) 35124314

                        Home page: http://www.vnpro.vn
                        Support Forum: http://www.vnpro.org
                        - Chuyên đào tạo quản trị mạng và hạ tầng Internet
                        - Phát hành sách chuyên môn
                        - Tư vấn và tuyển dụng nhân sự IT
                        - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

                        Network channel: http://www.dancisco.com
                        Blog: http://www.vnpro.org/blog

                        Comment


                        • #13
                          Microsoft Office Keyboard Shortcut Keys

                          Important Word Shortcuts

                          All Caps - CTRL+SHIFT+A
                          Annotation - ALT+CTRL+M
                          Auto Format - ALT+CTRL+K
                          Auto Text - F3 or ALT+CTRL+V
                          Bold - CTRL+B or CTRL+SHIFT+B
                          Bookmark - CTRL+SHIFT+F5
                          Copy - CTRL+C or CTRL+INSERT
                          Copy Format - CTRL+SHIFT+C
                          Copy Text - SHIFT+F2
                          Create Auto Text - ALT+F3
                          Date Field - ALT+SHIFT+D
                          Delete Back Word - CTRL+BACKSPACE
                          Delete Word - CTRL+DELETE
                          Dictionary - ALT+SHIFT+F7
                          Do Field Click - ALT+SHIFT+F9
                          Doc Maximize - CTRL+F10
                          Doc Move - CTRL+F7
                          Doc Restore - CTRL+F5
                          Doc Size - CTRL+F8
                          Grow Font - CTRL+SHIFT+.
                          Grow Font One Point - CTRL+]Hanging Indent - CTRL+T
                          Header Footer Link - ALT+SHIFT+R
                          Help - F1
                          Hidden - CTRL+SHIFT+H
                          Hyperlink - CTRL+K
                          Indent - CTRL+M
                          Italic - CTRL+I or CTRL+SHIFT+I
                          Justify Para - CTRL+J
                          Left Para - CTRL+L
                          Line Up Extend - SHIFT+UP
                          List Num Field - ALT+CTRL+L
                          Outline - ALT+CTRL+O
                          Outline Collapse - ALT+SHIFT+- or ALT+SHIFT+NUM -
                          Outline Demote - ALT+SHIFT+RIGHT
                          Outline Expand - ALT+SHIFT+=
                          Outline Expand - ALT+SHIFT+NUM +
                          Outline Move Down - ALT+SHIFT+DOWN
                          Outline Move Up - ALT+SHIFT+UP
                          Outline Promote - ALT+SHIFT+LEFT
                          Outline Show First Line - ALT+SHIFT+L
                          Lock Fields - CTRL+3 or CTRL+F11
                          Web Go Back - ALT+LEFT
                          Web Go Forward - ALT+RIGHT
                          Word Left - CTRL+LEFT
                          Word Left Extend - CTRL+SHIFT+LEFT
                          Word Right - CTRL+RIGHT
                          Phan Hoàng Gia Liêm - Instructor
                          Email : gialiem@vnpro.org
                          Yahoo : gialiem_vnpro
                          -----------------------------------------------------------------------------------------------
                          Trung Tâm Tin Học VnPro
                          149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
                          Tel : (08) 35124257 (5 lines)
                          Fax: (08) 35124314

                          Home page: http://www.vnpro.vn
                          Support Forum: http://www.vnpro.org
                          - Chuyên đào tạo quản trị mạng và hạ tầng Internet
                          - Phát hành sách chuyên môn
                          - Tư vấn và tuyển dụng nhân sự IT
                          - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

                          Network channel: http://www.dancisco.com
                          Blog: http://www.vnpro.org/blog

                          Comment


                          • #14
                            Excel Time saving Shortcuts

                            Move to next cell in row - Tab
                            Move to previous cell in row - Shift + Tab
                            Up one screen - Page Up
                            Down one screen - Page Down
                            Move to next worksheet - Ctrl + Page Down
                            Move to previous worksheet - Ctrl + Page Up
                            Go to first cell in data region - Ctrl + Home
                            Go to last cell in data region - Ctrl + End
                            Bold toggle for selection - Ctrl + B
                            Italic toggle for selection - Ctrl + I
                            Underline toggle for selection - Ctrl + U
                            Strikethrough for selection - Ctrl + 5
                            Change the font - Ctrl + Shift + F
                            Change the font size - Ctrl + Shift + P
                            Apply outline borders - Ctrl + Shift + 7
                            Remove all borders - Ctrl + Shift + Underline
                            Wrap text in same cell - Alt + Enter
                            Format cells - Ctrl + 1
                            Select font - Ctrl + Shift + F
                            Select point size - Ctrl + Shift + P
                            Format as currency - Ctrl + Shift + 4
                            Format as general - Ctrl + Shift + # (hash sign)
                            Format as percentage - Ctrl + Shift + 5
                            Format as number - Ctrl + Shift + 1
                            Autosum a range of cells - Alt + Equals Sign
                            Insert the date - Ctrl + ; (semi-colon)
                            Insert the time - Ctrl + Shift + ; (semi-colon)
                            Insert columns/rows - Ctrl + Shift + + (plus sign)
                            Insert a new worksheet - Shift + F11
                            Read Monitor Cell One - Alt + Shift + 1
                            Read Monitor Cell Two - Alt + Shift + 2
                            Read Monitor Cell Three - Alt + Shift + 3
                            Read Monitor Cell Four - Alt + Shift + 4
                            List Visible Cells With Data - Ctrl + Shift + D
                            Lists Data In Current Column - Ctrl + Shift + C
                            List Data In Current Row - Ctrl + Shift + R
                            Select Hyperlink - Ctrl + Shift + H
                            Move To Worksheet Listbox - Ctrl + Shift + S
                            Move To Monitor Cell - Ctrl + Shift + M
                            Select Worksheet Objects - Ctrl + Shift + O
                            List Cells At Page Breaks - Ctrl + Shift + B
                            Options Listbox - Insert + V
                            Phan Hoàng Gia Liêm - Instructor
                            Email : gialiem@vnpro.org
                            Yahoo : gialiem_vnpro
                            -----------------------------------------------------------------------------------------------
                            Trung Tâm Tin Học VnPro
                            149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
                            Tel : (08) 35124257 (5 lines)
                            Fax: (08) 35124314

                            Home page: http://www.vnpro.vn
                            Support Forum: http://www.vnpro.org
                            - Chuyên đào tạo quản trị mạng và hạ tầng Internet
                            - Phát hành sách chuyên môn
                            - Tư vấn và tuyển dụng nhân sự IT
                            - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

                            Network channel: http://www.dancisco.com
                            Blog: http://www.vnpro.org/blog

                            Comment


                            • #15
                              Easy move through Powerpoint

                              Apply subscript formatting - CTRL+EQUAL SIGN (=)
                              Apply superscript formatting - CTRL+PLUS SIGN (+)
                              Bold - CTRL+B
                              Capitalize - SHIFT+F3
                              Copy - CTRL+C
                              Delete a word - CTRL+BACKSPACE
                              Demote a paragraph - ALT+SHIFT+RIGHT ARROW
                              Find - CTRL+F
                              Insert a hyperlink - CTRL+K
                              Insert a new slide - CTRL+M
                              Italicize - CTRL+I
                              Make a duplicate of the current slide - CTRL+D
                              Open - CTRL+O
                              Open the Font dialog box - CTRL+T
                              Paste - CTRL+V
                              Print - CTRL+P
                              Promote a paragraph - ALT+SHIFT+LEFT ARROW
                              Repeat your last action - F4 or CTRL+Y
                              Save - CTRL+S
                              Select all - CTRL+A
                              Start a slide show - F5
                              Switch to the next pane (clockwise) - F6
                              Switch to the previous pane - SHIFT+F6
                              Undo - CTRL+Z
                              View guides - CTRL+G
                              Phan Hoàng Gia Liêm - Instructor
                              Email : gialiem@vnpro.org
                              Yahoo : gialiem_vnpro
                              -----------------------------------------------------------------------------------------------
                              Trung Tâm Tin Học VnPro
                              149/1D Ung Văn Khiêm P25 Q.Bình thạnh TPHCM
                              Tel : (08) 35124257 (5 lines)
                              Fax: (08) 35124314

                              Home page: http://www.vnpro.vn
                              Support Forum: http://www.vnpro.org
                              - Chuyên đào tạo quản trị mạng và hạ tầng Internet
                              - Phát hành sách chuyên môn
                              - Tư vấn và tuyển dụng nhân sự IT
                              - Tư vấn thiết kế và hỗ trợ kỹ thuật hệ thống mạng

                              Network channel: http://www.dancisco.com
                              Blog: http://www.vnpro.org/blog

                              Comment

                              Working...
                              X