Date, Time, Volume and Version cmd command details, and how to view and use this in cmd line interface (CLI)
We direct interact with these command using cmd command line interface and perform a specific task with this commands. Without GUI (Graphical User Interface) we use DOS (Disk Operating System) command. How to use DOS Command with CMD Command Line Interface, you will view and use these command.Date cmd command
With the help of date command in cli, we view and change the current date of system. Displays or sets the date.DATE [/T | date]
Type DATE without parameters to display the current date setting and a prompt for a new one. Press ENTER to keep the same date.
If Command Extensions are enabled the DATE command supports the /T switch which tells the command to just output the current date, without prompting for a new date.
For date command example 1
C:\Windows\system32>date The current date is: 11/03/2020 Enter the new date: (dd-mm-yy) In the Enter new date: Type desire date in given format which you want to change or Hit enter key from keyboard to do the same date as above.
For date command example 2
C:\Windows\system32>date /t 11/03/2020
Time CMD Command
With the help of time command in cli, we view and change the current time of system. Displays or sets the system time.TIME [/T | time]
Type TIME with no parameters to display the current time setting and a prompt for a new one. Press ENTER to keep the same time.
If Command Extensions are enabled the TIME command supports the /T switch which tells the command to just output the current time, without prompting for a new time.
For time command example 1
C:\Windows\system32>time The current time is: 15:26:29.92 Enter the new time: In the Enter new time: Type desire time which you want to change or Hit enter key from keyboard to do the same time as above.
For time command example 2
C:\Windows\system32>time /t
03:27 PM
Volume (vol) cmd command
Displays the disk volume label and serial number, if they exist.VOL [drive:]
For Volume cmd command example
C:\Windows\system32>vol Volume in drive C is JKS Volume Serial Number is DA8B-191A
Version (ver) cmd command
C:\Windows\system32>help ver Displays the Windows version.VER
For version (ver) cmd command example
C:\Windows\system32>ver
Microsoft Windows [Version 10.0.18364.695]
Post a Comment
Give suggestions if any? Thanks! Jitendra Kumar