Solved

Installing software with batch file

Posted on 2016-08-01
3
30 Views
Last Modified: 2016-08-03
Hello

I have software that I want to distribute with a batch file. I saw that this software default installdir was in user profile -> appdata.
So I gave a parameter INSTALLDIR in batch file. Everything worked but then I saw in menu start a weird name folder with the application in this folder.
Can I change this folder name with my batch? I can not find any info about this.

Thanks!
0
Comment
Question by:Triforce2000
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
Kimputer earned 500 total points
ID: 41737239
In Win7: Start > All Programs is actually
C:\ProgramData\Microsoft\Windows\Start Menu\Programs
Hence if you rename the folder there, it will reflect this change in the start menu as well.
0
 

Author Comment

by:Triforce2000
ID: 41737243
Nope, the folder is located @ C:\users\(user)\appdata\roaming\microsoft\windows\start menu\programs

So it is on user based and not computer based, just like the default installdir of this software.
But this can I change with my batch script, but can you also change menu start dir?
0
 
LVL 35

Expert Comment

by:Kimputer
ID: 41737315
It doesn't really matter where the folder is, you can just rename it.
While you said it's located where you found it, that's the personal Programs folder.
I pointed you to the more used, system wide Programs Folder.
But the procedure is still the same. Just rename it, and the changes will be directly reflected on the start menu.
0

Featured Post

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

Join & Write a Comment

I have published numerous articles here at Experts Exchange that present programs/scripts written in a language called AutoHotkey. Each of those articles has a brief paragraph describing where to download the product and how to install it. I have al…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
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.

705 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