Batch Files

Batch Files

Sections: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Index | Next >

GUI shortcut to batch file

Learning objective: (2) Explain how to creat a shortcut to a batch file


Click on image to enlarge.

You can create a desktop shortcut to a batch file by R-clicking on the desktop and selecting shortcut. Navigate to the batch file, create the desktop name for the user, and click on OK. Once created, R-click on icon and select properties. Note properties like run minimized so the user only see the results of the batch file, like the Windows app, and not the execution of the batch file. Window sizing can also be set as part of the START command too.

Once the shortcut has been made, R-click on the shortcut icon to access the properties dialog box. On the Shortcut tab, you can adjust the behavior of the batch file when executed. There are many other settings that can be changed on the Properties dialog box as well.

Target

The Target is the application that will be linked to the shortcut.

Start in

The Start in box allows you to identify the location of the directory you want to start your application in. If your batch commands have relative references, this may be an important consideration.

Run (size of window)

The Run option will allow you to decide of you want your application to be used in a normal window, or a minimized window (good for batch files), or a maximized window.

Change Icon

Click on the Change Icon button and select an icon that suites your needs.

Thinking: Why have a icon to a batch file?

Key terms: icon, properties, shortcut, target, window

Resources:
To maximize your learning, please visit these Web sites and review their content to help reinforce the concepts presented in this section.

Quick links:
How to Create a Desktop Shortcut @ basiccomputerinformation.ca
How to Create a Shortcut on the Desktop @ Microsoft

Embedded Resources

Notes on navigation: Click inside the frame to navigate the embedded Web page. - Click outside the frame to navigate this page to scroll up/down between the embedded Web pages. - Click on the frame title to open that page in a new tab in most browsers. - Click on the the "Reload page" link to reload the original page for that frame.

How to Create a Desktop Shortcut @ basiccomputerinformation.ca | Reload page | If frame is empty, click on the link to view the page in a new tab or window

How to Create a Shortcut on the Desktop @ Microsoft | Reload page | If frame is empty, click on the link to view the page in a new tab or window

Sections: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | Index | Next >