Solved

Making an alias

Posted on 2016-11-22
7
93 Views
Last Modified: 2016-11-24
Hi everyone,

I'm trying to make an alias of a .exe file and have completed the following steps:

  1. Clicked on start and typed in “regedit”
  2. Clicked on HKEY_LOCAL_MACHINE
  3. Expanded “Software” then expanded “Microsoft”, then expanded “Windows”,  then expanded “Current Version”, then expanded “APP Paths”.
  4. Right-clicked on “App Paths” and chose “New Key"
  5. Named the key “merge-csv.exe” and then went to the right side of the screen where it says “Default” and double clicked on it, then gave it the following path.

C:\Program Files\Merge csv files\dist\merge_csv.exe

When I went to search for the alias using the input field under "Start", no results came up.

I wondered if anyone could tell me what I might be doing wrong or is there another way to create an alias of a .exe file?

Would really appreciate any help.
0
Comment
Question by:gwh2
7 Comments
 
LVL 20

Expert Comment

by:CompProbSolv
ID: 41898509
What exactly are you trying to do?  Do you just want it on the start menu?  If so, then you just need to make a shortcut to it under Programs.
0
 
LVL 1

Author Comment

by:gwh2
ID: 41898513
Thanks for the reply. I had a python file and as I need it to run on a Windows computer that doesn't have Python installed, I used py to exe to convert the python file into an exe file. When I did that, it creates two folders - one called "build" and another called "dist". Within the "dist" folder are 8 files and one of them is the exe file called merge_csv.exe. The problem is that all those other files will probably confuse the person wanting to merge about 9 csv files so I wanted a way whereby the person could save the csv files in a directory of their choosing on their computer and then I was hoping that an alias to the merge_csv.exe could be created and stored in their chosen directory so that they could run it and have the script merge the csv files. I'd rather not have it run in the start menu.

Is that possible?
0
 
LVL 19

Accepted Solution

by:
NerdsOfTech earned 500 total points
ID: 41900544
Once you have an exe, simply right click it and send to desktop (this creates a .lnk file AKA shortcut on the desktop).  From the desktop you can drag and drop it to the start menu, tasktray, etc. Furthermore, you can right click the icon and click properties to change its icon as well. If you ultimately want to have your user "install" your program you can create an installation package and automate the placement of your exe and shortcuts with an installer tool. There's many out there:premium ones like "Installshield" and free ones like "Inno Setup" to name a few.
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 25

Expert Comment

by:Tony Johncock
ID: 41900629
I would think, an easier solution albeit one that would require a bit of user intervention would be to copy the Executable to a known path - e.g. C:\Program Files (x86)\Executable_path

Then, the first time users need to run the merge, they right-click on one of the files and chose "Open with". If they browse to the executable, it'll then allow them to choose your executable.

Or, if you want a more seamless interaction yet, create a proper installer that puts a shortcut onto their start menu and give the application a "File..open" dialogue.

I'm not a programmer or coder but what you're talking about in the registry isn't something I've ever encountered before.
0
 
LVL 24

Expert Comment

by:Coralon
ID: 41900951
What you did was correct, but it has nothing to do with the search function.. that allows you to type in "start merge_csv.exe" at a command line and have the app automatically launch..

To make it visible in the start menu search, just create a shortcut under c:\programdata\microsoft\windows\start menu\programs\<foldername> then that will create a shortcut on the public start menu..

Coralon
0
 
LVL 1

Author Comment

by:gwh2
ID: 41901161
Thanks for all the replies. I was able to create the shortcut using the right-click method. Much appreciated.
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
I need an automated procedure to connect to a switch and run a command 3 45
Pervasive SQL Error 4 28
Windows Updates question 2 28
Locking down a pc/laptop 11 28
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question