Solved

Installing software with batch file

Posted on 2016-08-01
3
36 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

If like me you are one who spends a lot of time working and scripting with cmd.exe, sometimes it is handy to be able to quickly view a calendar for a given month and year. This script will quickly do just that!  Save the code posted below to a .bat …
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.

896 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