Skip to main content

COMMAND PROMPT TRICKS

Command Prompt
Here I give you some basic knowledge about DOS.
* History
Doskey: - It keeps the history of all the commands you use. Simply press [F7] & use up & down keys to select the command.

* Command Prompt after running application
Many times a Dos or command line based program is run through the usual Start > Run method – say something like chkdsk or a network tracert command. The program executes & then shuts down the command line window with it. If you want to see what happens & read the report generated. To do this type the name of application or command after “cmd /k” without quotes. For example, cmd /k chkdsk d: will scan the disk, display the results & leave the command prompt window open.

* Copy & Paste
Most of us have, at some point or other, tried to copy something from or into the command window but the shortcuts [Ctrl] + [C] & [Ctrl] + [V] just wouldn’t work. To copy text from the command prompt, you need to first right click in the blank space of the window & click on “Mark”. Now drag around the text you want to copy. Right click again & the text will be copied into the clipboard. To paste right click in the window itself & & select “Paste”.
If you want to copy & paste stuff quickly then right click on title bar & select “Properties”. Check on the box “QuickEdit Mode”. & click OK.

8 Using Auto Complete
Like Linux console, window’s command prompt too has an auto complete feature, which allows you to complete file names without typing the entire name. Type first few characters of the filename or folder & press [Tab]. If there are more than one result, you can use [Tab] to cycle the result.

8 Using Auto Complete
Like Linux console, window’s command prompt too has an auto complete feature, which allows you to complete file names without typing the entire name. Type first few characters of the filename or folder & press [Tab]. If there are more than one result, you can use [Tab] to cycle the result.

* Full screen Mode
If you try & run a console or Dos application that looks right when you run on full screen, press [Alt] + [Enter]. Use the shortcut again to get back to window mode.

* Open command prompt anywhere
The command prompt starts in the logged users default directory For example “C:\Documents and Settings\Username” But if you want it to start it at another location try this: -
Create a Shortcut on Desktop.
Enter its location “C:\windows\system32\cmd.exe” without quotes. Then give a name to shortcut & Click “Finish”
Right click on the shortcut & click “Properties”

Comments

Popular posts from this blog

SHORT CUT TO REMOVE PENDRIVE

Rather than clicking on the task bar and then safely removing the pendrive you can eaily do so creating a shortcut: The Steps are:- 1)Create shortcut on your desktop by right click and selecting new shortcut from the menu. 2)Type "RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll" click next and then finish. shortcut is created and now you can assign a shortcut key to it. just right click on it and select properties-> Click on Shortcut Tab -> Assign a Shortcut key to it(it will take Ctrl+Alt by default)eg: if you press 1 shortcut will be Ctrl+Alt+1.

Decrapify / Debloat Windows 10 with a Powershell Script

Windows 10 is a decent OS from Microsoft after the disaster known as Windows 8 and 8.1. Although Windows is still better with no Modern UI crap, no ads, minimal telemetry, no Edge to bug you. But Windows 10 is a decent compromise if you want a stable OS with modern features like DirectX 12. Earlier OEMs used to bundle PCs and Laptops with crapware, with Windows 10, now Microsoft themselves bundle crapware. Welcome to Software as a Service (SaaS) model. On top of that we have OEM crapware on top of Microsoft crapware. As a result trying to Debloat or DeCrapify Windows 10 is getting absurd and as a system admin it is disheartening to see all that performance go to waste on the messed up attempt by Microsoft to do an Appstore and its apps. Fortunately a kind soul who goes by name  Sycne x has worked painstakingly to provide us a simple solution that works considerably well. Let's Begin To download the script visit  here , and click Clone or Download and Click Download as Zip.

Easily Join / Merge Rotate Two or more video files without encoding or convert videos using ffmpeg in Windows (Or any other OS Mac OS, Linux) for free.

ffmpeg is a pretty handy tool for format transcoding, basic editing (trimming and concatenation), video scaling, video post-production effects, and standards compliance (SMPTE, ITU). One of the basic requirement of merging or combining two or more videos is a task that can be easily accomplished by using ffmpeg . ffmpeg is a free and open source as well. And the performance is easily on par if not better than most paid software solutions. In order to merge two or more videos follow the steps:-  First copy all video files into a folder. (Make sure you have checked "File name extensions". Next you need to download ffmpeg for Windows from their website . Choose 64bit unless you are using 32 bit version of Windows and select Static. Download the file. It should be a compressed file. Now open the file. And Go to "Bin", there you will find three files. You need to copy ffmpeg to the folder containing video files. Next