Solved

Installing software with batch file

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

This article was inspired by a question here at Experts Exchange (http://www.experts-exchange.com/Software/Photos_Graphics/Images_and_Photos/Q_28629170.html). The requirements stated in that question are (1) reduce the file size of a large number of…
Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
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.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

829 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