Solved

Making an alias

Posted on 2016-11-22
7
80 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
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 25

Expert Comment

by:Tony1044
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
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 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.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now