Web
Analytics
Connect with us

OS

How to Create a Batch File?

Published

on

how-to-write-a-batch-file

If you need a helping hand getting your desired thing done in your Computer, Batch files come handy. You can use them to do daily tasks in a snap, and this will save your time too.

Anyone can operate a Batch file, and there is no hard part in executing it. Some people never had any interest in this, causing they don’t know about it.

What is a batch file: a computer file containing a list of instructions to be carried out in turn.

Since automation programs like AutoHotKey exist, many people have never written or taken the time to understand bat files, and many don’t even know what they do.

In this post, I’m going to show you How to create a batch file and guide through the basic of what is needed to write a batch file. After reading this post, you’ll get an idea on how I’ll also help you with few resources for learning how to make a batch (.bat) file in case you’d like to go further.

How to Create a Batch File

How-to-create-a-batch-file

Ok, let’s assume that you are having a problem with your network,  one way to find out the problem is to type ipconfig and pinging Google to see if there is such a problem causing the network problem.

Obviously, this can be a bit annoying when you have to do this more often. So what we can do to automize the task? We can make a batch file and stick it to USB drive so whenever you encounter in network issue. Plug the USB drive and run the batch file, as simple as that

Creating A BAT File

Creating a bat file in super duper easy, follow these steps.

Right-click on your desktop and click on NEW – Text document. Double click on it, it will be completely blank. Next, go to File menu and choose “SAVE AS”, a window box will prompt out. Type a filename and at the end add “.bat.” My file name was TestBat.Bat for example.

Also, make sure windows do not save this file as a text file. You need to set the ‘save as types’ dropdown to ‘ALL files’, then windows will take the .bat name as an extension.

how-to-make-a-batch-file

Do Some Coding

If you want to create your own bat files, you need to learn how to run a command in Command Prompt program in windows. Because you can speed up the process if you know that, both languages are same. A batch file tells command prompt to do things, and this saves human time and effort.

There are many commands, but these are the basic commands that matter most. Let’s learn about them first.

Title: Name of the Bat file. Yes, you can name it anything you like.

ECHO – In bat files, this is the “print” statement for BAT files. Whatever you give following the ECHO word, it will appear in the command prompt as well.

ECHO OFF – Hide the command while the program is running.

PAUSE – This yields the “press any key to proceed… ” message that you’ve seen very commonly. It’s useful because it delays the BAT document execution until the client instructs it to go once more. If you don’t place this in your system, everything will speed by and end before you can see it. Individuals regularly place this in BAT documents to allow the client to survey the material on the screen before proceeding.

CLS – Clears the DOS window (supportive if things get excessively messed!).

IPCONFIG – Network information.

PING – Ping a IP address to confirm whether you are connected to the internet or not.

Do Some Quick Logic

Before you start, We have to arrange our project out. Any great software engineer will consider the general structure of their system before they dash into things – it keeps them from committing rationale errors that are difficult to retreat from.

IN this post there are two examples/ projects. In 1st project, we need to check the PC’s system network/web settings with an “ipconfig/all” command, and afterward audit that data by giving the client time to peruse everything.

The second example is a script that will remove specific words or characters from multiple files at once. You need to save the second batch file in the same directory where you want to delete that particular word.

Write Your BAT File

Okey, Now Right click on your desired Bat file and choose “EDIT” to open it in Notepad. (You need to click right and select Edit to open the bat file in notepad.)

Code Example 1

———–Start Code———–

ECHO OFF
ECHO As a network admin, I’m getting tired of having to type these commands in! Hopefully, this saves me some time in the long run.
IPCONFIG /ALL
PAUSE
PING www.google.com
ECHO All done pinging Google.
PAUSE
———–End Code———–

Code Example 2.

This is another example of a script that removes specific words from mp3 files at once.

Assume you a mp3 folder in this format: Song1 SiteName.mp3 and so on. You can remove the SiteName from all of the files in just one click. Here is how it goes.

–Code Start–

SETLOCAL enabledelayedexpansion
SET “word= [SiteName]”
IF “%word%”==”” GOTO :EOF
FOR /f “delims=” %%a IN (‘dir /a-d /b “*%word%*.mp3″‘) DO (
SET “fname=%%~na”
SET “fname=!fname:%word%=!”
IF NOT “!fname!”==”” REN “%%~a” “!fname!%%~xa”
)
pause

–Code End–

NOTE: Replace SiteName with anything you want to remove from multiple files at once.

Test Or Run the BAT File

Whatever you have in a bat file, you coded, or you copy-pasted it from somewhere else. Save the file and make a backup of this file. Open it by double clicking it, and The output will be similar as below image.

how-to-create-a-bat-file

Here it goes example 2nd test.

how-to-write-a-batch-file

Bang! That’s how to create a batch file, and you did it successfully.

You can learn more about batch files, here are the commands that you can run in command prompt. Using them, you can write your own batch file. Here are other examples you can learn online. Any question related to the batch file, scroll and comment it right now. (PS: Don’t ask command related question here.)

In my case I made the script that removes certain words from files at once, It actually help me categorize files and keep my computer easy to find something. I keep this batch file on my USB drive, and whenever I see lots of files contains certain words (like a website name) I plug the USB drive and runs the bat file.It does do the work in a snap.

Have you written anything cool with BAT files before? Try a new one.

Devendra is an introverted-extrovert with a thirst for life.

Continue Reading
Click to comment

Leave a Reply

Your email address will not be published. Required fields are marked *

OS

How to Get Internet Explorer 9 Download Easily?

Published

on

By

The world is changing rapidly. Almost every day new technologies are being launched. In order to sustain in today’s world, a company needs to take risk of launching new products. The case with Internet Explorer was the same. At one point Internet Explorer was the most used browser on the planet capturing as much as 83% of the market share and obviously Microsoft was really proud of that.

But with introduction of new browsers, Internet Explorer lost its fed and Microsoft finally decided to shut it down. Those who are still on IE 8, most probably Windows 7 users, they can download Internet Explorer 9 and upgrade to Internet Explorer 9 to have some good experience.

Before showing you how to download internet explorer 9, I would like to share some history about Internet Explorer.

Microsoft has developed eleven versions of Internet Explorer for Windows from 1995 to 2013, the last version was Internet Explorer 11. At its peak, IE had controlled 83% of the market for its 6th version i.e. IE 6. Gradually, the market share dropped and Microsoft officially shut down Internet Explorer.

Why Microsoft Shut Down Internet Explorer?

internet-explorer-9-download

Microsoft was closely monitoring Internet Explorer, with the launch of latest browsers, even when Microsoft was updating it regularly. It failed to beat its other competitors like Chrome and Firefox.

Internet Explorer had a poor reputation among developers and users because of its traditional preference for proprietary tools over open standards.

Although Microsoft constantly has updated IE, but still it was not able to hold to its market share and its competitors slowly and completely took over Internet Explorer.

This was the reason Microsoft decided to shut down Internet Explorer.

Another Try, The Launch of Microsoft’s Edge alongside Windows 10

Microsoft soon after scrapping Internet Explorer announced the development of Microsoft Edge, a next generation browser. They also stated that the first look of Edge will be available with the launch of Windows 10.

The first look of Edge came when Microsoft launched the preview for Windows 10. Microsoft Edge replaced Internet Explorer as default web browser on both the PC and Windows 10 Mobile.

Initially, Microsoft announced that Edge would support the legacy MSHTML engine for backward compatibility but later backtracked, saying that due to “strong feedback,” Edge would use a new exclusive engine, while Internet Explorer would continue to provide the legacy engine.

The performance of Microsoft Edge drastically improved when compared to Internet Explorer 11. In the benchmark test, it was easily competing with Google Chrome and Mozilla Firefox. As of now, the market share for Edge was slightly less than 2% compared to the fact that it is only available for Windows 10 whereas all its other competitors are available on new OS as well as the old OS.

So, keeping everything in mind, I would like to show you how to download internet explorer 9?

System Requirements for Internet Explorer 9 Download

internet-explorer-9-download

Processor – A Computer with at least 1 gigahertz (GHz) 32-bit (x86) or 64-bit (x64) processor. Internet Explorer 9 might work on a PC with a lower configuration as compared to what has been mentioned as a minimum configuration, but, it is advisable to have the recommended minimum configuration.

Operating System- Windows Vista and Windows 7 running Internet Explorer older version can upgrade to Internet Explorer 9.

Memory – It is advisable to at least 512 MB of RAM for smoother installation and working. You can check your RAM by doing a right-click on your Computer icon in Windows 7 and then choosing properties. In today’s world, every newly bought PC comes with at least 2 GB RAM. So, if you are running a old-age PC, then it is advisable to get the memory increased.

Hard Drive Space – A maximum of 200 MB needed. However, it maybe less depending on the OS on which you want to install Internet Explorer 9 on.

Prerequisites:-

  • No updates or a restart should be pending when starting the installation of IE 9. If an update is in process then wait for it to get finished, then install IE 9.
  • Make sure you are not running a preview version of Windows, for e.g. Microsoft launches a preview version every time before launching its original OS.
  • Internet Connection to download the Internet Explorer setup.

The Step-by-Step Guide for Internet Explorer 9 Download on Windows 7 (or Vista)

internet-explorer-9-download

Step 1 – In order to install Internet Explorer 9, you need to download the setup of Internet Explorer 9 on your PC. In order to do so, go to the Download Internet Explorer 9 page.

Step 2 – Once you are on the Download Internet Explorer page, you will be presented with two options. If you are running a Windows 64 bit PC, then you have to choose the first option i.e the named “Internet Explorer 9 for IT Professionals and Developers–Windows Vista 64-bit Edition and Windows Server 2008 64-bit Edition” If you are on a 32 bit PC, choose the other one i.e. the 2nd one.

Step 3 – Now, once you are done with the 2nd step. You have to choose the language in which you would like to use the Internet Explorer 9 and click Download. As soon as you click the download button, a new box will appear and you have to save the file. Once you do this, the download will start.

Step 4 – Once you have downloaded and saved the file on your PC. It’s time to open the file and install the Internet Explorer 9 on your PC.

Step 5 – Once you open the file, you will be asked to give permission to the IE 9 setup to install the browser on your PC. In this case, you just have to click on Yes and you are good to go.

Step 5 – Once you do the things mentioned in the step 5, you will be asked to click on Install button in the next popup. On clicking Install, you agree to the Internet Explorer license terms. Now, after you do this, Internet Explorer will get installed onto your PC.

So, guys this was all about downloading and installing Internet Explorer 9 on Windows 7 (or Vista). With this, we come to the end of our article on internet explorer 9 downloads.

If you found this article useful then don’t forget to bookmark us, like us on Facebook, and leave a comment below if you faced any problem while doing the same.

Continue Reading

Computers

How to Disable Windows 10 Notifications?

Published

on

In this exclusive How to disable Windows 10 notifications guide, you’ll discover everything related to notifications and Action Center so you can customize your Windows 10 in a way you want.

Microsoft included the Notifications inside the Action Center in Windows 10, but sadly the compony received negative feedback across the world. Who would like to receive a barrage of notifications?

Besides, If a developer added the notification functionality in their app, only then you will receive notification from that app.

The action center and notifications took the place in Windows 10 by replacing the Charms bar. Charm Bar was there in Windows 8 releases. I do not know why but Microsoft had a lot to negative feedback from peoples using the Windows 8, and finally, Microsoft pulled the charms bar down, but they have to replace it with something which will provide features of charms bar.That is why Action Center is included in Windows 10. The notifications are the soul and heart of action center.

That is why Action Center is included in Windows 10. The notifications are the soul and heart of action center.

How-to-disable-Windows-10-notifications

You can view all the notification and have access to various windows function such as brightness, Wifi, etc. Action center is accessible in one click by clicking its Icon, which is located taskbar’s notification area.

The notification and action bar works like notifications system we can find on Android and Windows-powered phones.

How to manage Windows 10 notification

You may want to disable notification coming from a particular app, here is how to do that. If you completely want to remove all kind of Notifications skip this section and read the next method.

Suppose you installed the Facebook app, so you cannot toggle notification unless you get first notification from Facebook (such as of comments, messages notifications.)

You have options to enable to disable notifications from specific apps, and you can also turn off notifications sounds.

Step 1. Open Control Panel, and click on System tab. You can also begin by clicking on the Action Center icon and choosing All Settings.

How-to-disable-Windows-10-notifications

Next, click on the ‘Notifications & Actions tab. Scroll till you find this heading ‘Show notifications from these apps. All apps which Microsoft entirely removes that Notifications functionality will be demonstrated here. i.e. Insider Hub is an app which is allowed to send notifications with a sound.

You can completely disable all notification from this app by clicking the-the toggle button.

How-to-disable-Windows-10-notifications
How-to-disable-Windows-10-notifications

However, if you click on the app’s name a new box will open with a list of settings. From here you can set notification preferences such as showing banner, playing a sound when notifications arrive.

How-to-disable-Windows-10-notifications

If you wish to disable entire notifications from an app, set the Notifications option to off. It will prevent all the notifications from the app. Such as Facebook and Twitter.

That is it; you can always turn off notification from a particular app. Sometimes it happens that you were enjoying a moment, and suddenly a disturbing notification pops up.

How to Disable Notification Sounds in Windows 10.

In notification settings, when you scroll you’ll see Apps list, choose an app and click on it and turn this following option to off (Play a sound when a notification arrives.)

If you wish to entirely disable Windows 10 notifications you may need to follow the next method. It is useful if you just like you do not want any Notifications.

How to disable Windows 10 notifications

Besides, Notifications are the necessary and worth addition in Windows 10, but interest varies person to person. Many people may want the Charm Bar, but that is entirely removed by Microsoft in Windows 10 release.

Just like that, Many people may want to remove the Notification or simply want to turn off the Notifications. In this section, you’ll learn how to turn off notifications on Windows 10. So without wasting time lets start the tutorial:

Step 1. You need to open the Notifications settings; there are several ways to do so.

→ Press Windows icon (or click start icon) and type ‘Notifications & Action.’

→ Right Click on Date and Time display which is located in the Taskbar’s right corner, and Click on ‘Customize Notification Icons.

→ Control Panel – System – Notifications.

Step 2.

  1. Toggle off both options as highlighted in the below image.
  2. Now under “Notifications” section, set following options to Off:
  • Show me tips about Windows
  • Show app notifications
How-to-disable-Windows-10-notifications

You can go notifications setting any time to enable the notifications. Share this post how to disable Windows 10 notifications with the peoples who is having negative views on the Notifications features.

Disable Notifications & Action Center by using Group Policy Editor

This method is recommended if you are a tech savvy. This method will completely disable the Notifications & action center. Here is how to do it using Group Policy Editor:

Step 1. Right click on start menu and click on RUN, type gpedit.msc inside the RUN prompt and hit Enter. A box prompt will be opened; it is Group Policy Editor.

Step 2. Now navigate to User Configuration → Administrative Templates → Start Menu and Taskbar

Find ‘Remove Notifications and Action Center’ setting there and double click on it.

How-to-disable-Windows-10-notifications

By double-clicking a prompt will be opened, choose Enabled and then click Apply or Ok button. Now you have to sign out or restart your computer. So next time you start the computer you will not see any notifications and Action Center.

Disable-Windows-10-notifications

To enable it again, go over and set the “remove Notification and Action Center” to Disabled.

How-to-disable-Windows-10-notifications

That is it you just learned how to disable Windows 10 notifications make sure to read next paragraph so you can revert it anytime.

To re-enable notifications & action center, double-click on ‘Remove Notifications and Action Center’ setting in Group Policy Editor and set it as Not Configured and save it. You might need to restart your computer to see the effects.

Final Words.

Windows 10 has flexibility; it enables users to customize some of the features in a way they want. However, Notifications had a significant impact on Windows 10, yet some people may want to remove it because of the number of reasons.

Continue Reading

Computers

How to Stop Pop Ups on Windows 7?

Published

on

How can I stop pop-up ads in Windows: Today we’ll show you some methods you can do to get rid of pop ups in Windows 7, Because Windows 7 is a hit, and still thousands of people using it.

Every second window 7 users don’t like the pop-ups, in fact, they also ask “How to stop pop ups on Windows 7” to Google. We got you – No matter which browser you use, we’ll show you how to do that when you are using Internet Explorer, Chrome, and Firefox.

Windows 7 is a bit old and comes with older version of netFramework so you might be interested in installing the NetFramework 4.5 on your Windows 7 computer. Besides, the latest version is only available for newer Windows version.

There are some other kinds of pop-up such as a pop-up from an outdated security software which is keep sending you unwanted pop-up and if your PC is at risk, windows 7 ill warn you concerning you o take an action. However, these kinds of popups can be closed in a click and have options to remain-hide in future.

How-to-stop-pop-ups-on-windows-7


When you start your Windows, nd you see some pop-up from a software asking you to purchase it, it is time to kick the software from your Computer. It is evident that you had a bunch of software installed which you do not need. We are going to cover this first and after that, we are going to cover How do I stop ad pop-ups on my Windows 7 PC.

How to get rid of annoying pop-ups on the Desktop

Windows itself sends some pop-ups, but the numbers have been reduced in Windows 7. But not entirely, because some of them are important. Some software you have installed time ago may still nag you. We’ll show you how to uninstall a program which is causing deadly-pop-ups.

Regarding your security software, it might be outdated, and it will show you pop-ups often telling you to update it or renew or pay them. Sometimes you just don have to pay them or renew. You can just uninstall them to kick from your computer. There are much free security software that works and are free for the lifetime – Comodo security is just a name.

Also, you can simply remove any unwanted security software and just turn on the windows bit defender. However, you have the choice you can renew your beloved software to stop receiving popups from it.

Now here is how to remove programs you might no longer need or snagging you or even asking you yo upgrade or pay. If you are not going to use that software anymore you, and yet they are asking you to pay you only want to avoid those pop-ups.

If you have a hard time to find out what software is displaying the pop-ups you can use Task manager. So when a popup is bothering you simply open task manager and you’ll know the software’s name. Also from there you can directly kill the process which is causing the pop-ups

In Windows 7 here is how to uninstall a program: Open Program and features. (click the start button then – control panel – Program – Program and Features)

You’ll all program installed on your PC, simply select a program you want to remove and click Uninstall and confirm.

How to Stop Pop Ups on Windows 7 When Using IE (Internet Explorer)

Internet Explorer is always there after you install Windows 7. IE is the default browser in Windows operating system. If you are using IE to browse the internet, you might face some weird pop-ups. Most of them are advertisements; they are not like Adsense.

To prevent pop-ups showing on the internet explorer your need to follow this guide. For that, you need to open the Internet Explorer.

Click on Windows 7’s Start menu and open IE (Internet Explorer) On the right side top you’ll see gear icon, click that button, then selects internet options.

How-to-stop-pop-ups-on-windows-7

A new display will open, go to Privacy Tab and under Pop-up Blocker, tick the option that says ‘Turn on Pop-up Blocker’ Now click Apply or Ok. It will block any irritation pop-ups. After that, you should not see any pop-ups while browsing the internet.

How-to-stop-pop-ups-on-windows-7

But, even if you ticked the option (Turn on Pop-up Blocker) and you are still facing pop-ups you need to tighten the Pop-up blocker setting. For that hit the settings again and click the ‘setting’ button under Pop-up Blocker option. You need to change blocking level, change it to High from Medium. Setting High option will block all pop-ups. Now click Ok to save the setting. Next time you will not see any pop-ups while you are using the Internet Explorer.

How-to-stop-pop-ups-on-windows-7

That’s it; now you might stop reading How to stop pop ups on Windows 7 if you are only using Internet Explorer. There are more advanced web browser available for Windows 7. Google Chrome and Firefox are just two names. If you are using Chrome or Firefox, we’ll also show you how to stop those pop-ups on Windows 7 as well!

On Chrome, the default settings always block the unwanted pop-ups, and when blocked you’ll see an icon at the corner of the address bar. Clicking on that you can allow that pop-up to launch, or you can add it to exceptions, so next time Chrome won’t block that pop-up. You can also go to the settings to confirm the same, and can manage exceptions to the Pop-up Blocker setting.

How-to-stop-pop-ups-on-windows-7

On Firefox and Opera or any other browsers, they all have Pop-ups settings. You just need to go your browser’s Settings and find the pop-up options. From there you should be able to stop seeing any further pop-ups windows.

Over to you: Some websites use pop-ups to offer some service and in that case, you should allow that website by adding them in exceptions. However, most of the pop-ups are advertisements, and it is far better to prevent loading them. It is okay to upgrade your windows 7 to windows 8 to receive the latest from Microsoft. Otherwise, you can directly jump into Windows 10 which is the latest operating system by Microsoft.

Continue Reading

Linux

How to Repair Ubuntu If it Won’t Boot?

Published

on

If you are familiar with both Windows and Ubuntu, you’ll notice that Ubuntu does not have any Safe Mode or Auto repair tools, as Windows has.

Ubuntu’s latest version 16.04 requires at least 2 GHz dual-core processor, 2GB ram, and 25 GB space in HDD. However, even if you are using an older version such as 14.04 workarounds described in this guide will work similarly to the latest version of Ubuntu.

Ubuntu does provide a Recovery menu as well as reinstall option using that you can fix a Ubuntu installation without getting affected your programs and files. This guide is dedicated on How to repair Ubuntu if it won’t boot and you’ll find ways to give life to your existing Ubuntu installation.

NOTE: If you notice that your PC is not booting anything, or you are not able to boot up via a USB and Live CD, you need to check the configuration of your Pc’s boot order. However, if this does not help you might like it, but you probably need a hardware update.

How to Repair GRUB2 When Ubuntu won’t Boot

Ubuntu 16.04 LTS and other Linux distribution make use of the GRUB2 boot loader, which means if there is a problem with your GRUB2 boot loader, maybe that is why you are not able to boot Ubuntu. However, it can be solved by repairing the GRUB2 boot loader. Follow the steps and you’ll learn How to repair Ubuntu if it won’t boot by fixing the GRUB boot loader.

To check if you have access to GURB2 boot loader, start your computer while holding the SHIFT button. It should open a menu which contains the list of installed Operating systems. If you see the menu, means you just accessed the Grub boot loader.

How-to-Repair-Ubuntu-If-It-won't-Boot

Another side of the coin, if you did not see a menu with boot options. Possibilities are that your GRUB boot loader is not functioning and preventing Ubuntu from boot. GRUB boot loader can be overwritten if you install Windows OS after Ubuntu Installation. Installing windows make it is own boot loader to the boot sector, so unless you fix GRUB boot loader, you will not be able to boot into Ubuntu.

If you worried that if you repair the GRUB boot loader maybe it will prevent Windows to boot and make only Ubuntu boot. GRUB can also be used to set a Dual-boot environment on your PC. basically, you should install any Linux distribution after installing Windows, it will result a dual-boot setup through GRUB.

However, of course, something goes wrong with your GRUB boot loader, and here is how to fix it. How to Repair GRUB2 When Ubuntu will not Boot:

To repair the GRUB, you need a Ubuntu Installation USB or Disc. Because you need to boot into the Linux system in order to repair GRUB. In this section, we could help you reinstalling GRUB2 boot loader on Ubuntu. You can use either the graphical installer or simple terminal commands. But for that, you may need to download a Linux distribution and burn into a USB or disc, but read next to find a simple method.

To make this easier, you can just use this dedicated Boot repair disc and your Pc will be booted directly to the graphical boot repair tool.

How-to-Repair-Ubuntu-If-It-won't-Boot

Once this tool did repair the GRUB Bootloader, you can restart your computer and this time Ubuntu should load fine. (The GRUB2 is hidden, you need to press and hold SHIFT button during the boot process.)

If this did not help in your case, you might be a more serious problem. In such case you need to repair Ubuntu installation using the GRUB.

How to Repair Ubuntu If It Won’t Boot

Once you see the GRUB boot menu, you’ll find options to repair your system. You need to choose the ‘Advanced options for Ubuntu’ option with the help of arrow keys and press enter. A submenu will be open, on that choose ‘Ubuntu .. (recovery mode) and press enter.

How-to-Repair-Ubuntu-If-It-won't-Boot

The GRUB should boot your Ubuntu system in recovery mode menu, and your files will also load in a read-only mode. You’ll see a bunch of different options, here are the details of the options.

Select an option and press enter.

Clean: This command will try to free up space on your file system. This is only helpful if your storage is full and because of that Ubuntu is not booting.

dpkg: It is helpful, and it does repair broken software-packages.

failsafeX: Corrects any problem due to a graphics driver or graphical server configuration.

fsck: It will scan the filesystem and fix any errors.

grub: Ths will update the GRUB bootloader. This will not help if you can access the grub boot loader.

Network: Turns on networking, because it is disabled in the recovery mode.

root: Starts the root shell prompt and from here you can give commands and can fix problems with your Ubuntu installation. Us this if you know how to use it and what you are doing. Because it is advanced and why to fix the problem on your own.

Reinstall Ubuntu While Keeping Files and Programs.

If there is still a problem booting your Ubuntu installation you are left with one last option. You are still able to boot up Ubuntu with a USB or Live CD. Boot up using the installation media, the Ubuntu setup should be able to fund the existing installation and offer a ‘reinstall Ubuntu’ option.

How-to-Repair-Ubuntu-If-It-won't-Boot

Choose the option, and a reinstall will be performed. It will keep your files and personal settings. It can also keep software packages and your other personal data. The reinstall feature will vanish the system related settings and will make the default. So that should correct all the gimmicks and errors by any system setting configuration.

If you select that option and go through the process to reinstall Ubuntu, the GRUB2 will also be reinstalled; it’ll fix any configuration error. This method will fix your Ubuntu if didn’t boot. Because theoretically you did installed the Ubuntu like you installed the Ubuntu first time.

However, if you are still not able to boot Ubuntu, I think there is a problem with your PC’s hardware or maybe with hard disk drive.
Use Another Ubuntu version.

Alternative by any mean you may always want to use the latest version of Ubuntu, which is 16.04 right now. It is also advisable that according to your Computer requirement you may need a lower version, you can find all the Ubuntu LTS versions here (where LTS stands for long-term support).

Final words.

Unlike Windows, Ubuntu comes preloaded with such VLC, GIMP and other apps.  So moving from Windows to Ubuntu should be very hard. If you have any query concerns in How to repair Ubuntu if it doesn’t boot, the comment section is just a scroll away.

Continue Reading

Computers

How to Use Command Prompt?

Published

on

A command prompt is such a powerful system application in Windows that it can help you become a power user. So, if you want to know how to use the command prompt, then you are in the right place.

In this article, we will tell you about command prompt commands and how to use the Windows command line? There are a lot of things you can do in Command Prompt. Here are Use Command Prompt tricks.
So, let’s get started:

command-prompt-commands

What is command prompt?

This section will put an end to your query on what is a command prompt?

A command prompt serves as an entry point for typing MS-DOS and other commands associated with a computer system. It can help you perform tasks without using the GUI provided by windows.

To be more precise, if you wish to become a power user of windows then learning more about the command prompt will certainly help you achieve that level.

How to use command prompt?

commands-for-command-prompt

Step #1: Open the command prompt.

In this step, we will show you how to open a command prompt in the Windows operating system. Well, this is not a cumbersome task, and once you go through the whole step, you will feel that it’s a piece of cake for you.

To open command prompt in Windows 7, consider following the enlisted steps:

*. Go to the start button and click on it.

*. Type “cmd” or “Command Prompt” without quotes at the field where “Search Programs and files” are written. Doing this, you will get an option as below.

You are required to click on it, and this will open the command prompt for you.

In some cases, you might need administrative privileges. So, in that case, you will have to click right on “cmd.exe” or “Command Prompt”. From the list menu which appears, you have to select “Run as administrator” and this will do the needful for you.

Alternatively, you can also go this way. All that you need to do is to make use of this shortcut “Windows + r”. This will take you to the run section where you need to type “cmd” without quotes. After this, you need to hit enter.
Following any of the two methods, you can easily get access to the command prompt in Windows 7.

To open a command prompt in Windows 10, you will have to follow the following steps:

Multiple ways are using which you can get access to the command prompt in Windows 10. For ease of comprehension, we will be listing one or two here:

Method 1: By searching.

Navigate to the search bar of your windows and type cmd. Select the appropriate option and this way you can easily get access to the command prompt.

Method 2: Using File Explorer.

At first, you require launching a file explorer. Once you have done the same then, you need to navigate to the following location: C:\Windows\System32. There you will see a file named “cmd.exe.” This is exactly what we require which means that you need to click on it.

Method 3: Using Run.

This is one of the easiest methods of all. All that you require is to press Win + R, and this will take you to the run dialog box. Now, you have to type “cmd” without quotes in the respective field and hit enter. This will help you access the command prompt in Windows 10.

Step #2: Playing with commands.

Command prompt is a very powerful system application. If you can have a command over this, then you can be a power user of your system. In this step, we will be showing you what you can do with the command prompt? So, let’s get started:

1) Opening any system application.

Did you know that you can open any system application using the command prompt? If not then we will show you how you can do this.

Since we have told you how to open a command prompt in the previous step, so we won’t be going over there. So, say if you wish to open notepad using command prompt then all that you require doing is to type “notepad.exe” without quotes at the command prompt and hit enter. Within no time, this will open the command prompt for you.

2) IP address.

command-prompt-commands


Let us suppose that you wish to know the IP address. You can find it very easily using a cmd command as “ipconfig”. All that you require doing is to type this at the command prompt terminal and hit enter. Within seconds, you will have your IP address in front of your screen.

3) Changing color of the command prompt terminal.

command-prompt-codes


This is a cool yet a basic command using which you can change the background and the text color of the command prompt terminal.

For this, you require typing “color help” at your cmd terminal and hit enter. This will display color name along with their associated codes that are command prompt codes. Like if you type the following command COLOR 8A, then this will change the terminal text to green and the background to light gray. Cool, isn’t it?

4) Using Powercfg.

It is one of the most powerful commands in command prompt. Using this, you can track down the status of energy consumption by your system. Let us suppose if you wish to see all the power saving states of your system then you are to type the following command: powercfg /a. This will list all the states available on your system.

5) Shutdown.

If you wish to shut down your system using command prompt then, you should consider using the following command “shutdown /s /t 0” without quotes. Additionally, if you need to restart your system using command prompt then consider using the mentioned command as “shutdown /r /t 0” without quotes obviously.

6) Tasklist.

If you wish to see all the tasks currently running on your system, then you should consider using this command “tasklist” without quotes. This will list all the tasks which are running currently on your device.

So, this was all about how to use command prompt? We hope that you will now feel that using commands for command prompt is a piece of cake. You can also Restart/Shutdown a Remote Computer using Command Prompt. Along with that, if there is any conflict in your IP, you can fix the IP Conflict using Command Prompt.

Do not forget to share it with your peers. Stay tuned and keep visiting!

Continue Reading

Trending