Solved

Making an alias

Posted on 2016-11-22
7
52 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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 23

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

757 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

19 Experts available now in Live!

Get 1:1 Help Now