Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Installing software with batch file

Posted on 2016-08-01
3
Medium Priority
?
49 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 36

Accepted Solution

by:
Kimputer earned 2000 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 36

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Use this article to create a batch file to backup a Microsoft SQL Server database to a Windows folder.  The folder can be on the local hard drive or on a network share.  This batch file will query the SQL server to get the current date & time and wi…
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
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…

722 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