You are here

Hiding extra files.

9 posts / 0 new
Last post
CrazedSyko
Offline
Last seen: 17 years 3 months ago
Joined: 2006-12-26 15:29
Hiding extra files.

I have a few 2 portable apps that require other exes in order to run. These programs are Portable Cleaner and PowerDefragmenter GUI with Contig. I would like to hide the CCleaner exe and only show the Portable CCleaner exe. I also want to hide the Contig file from showing up on the Portable Apps menu. Is there anyway to fix this? I would also like to know if it is possible to change the name of the app in the menu. This is beause PowerDefragmenter's desription calls it Setup Fatory 6.0 Runtime. I would like to change that to PowerDefragmenter.

Day
Offline
Last seen: 7 years 5 months ago
Joined: 2006-12-09 19:40
getting rid of unwanted

getting rid of unwanted items from the menue and renaming the existing ones will be available in the next release of PortableApps Suite. I'm hoping it's going to be released soon as I'm having the same problem as you.
To change the name at the moment I'm using a program called PE Explorer. I open the exe file which I want to rename and then change its description. I had a couple of programs which stopped working when I did that to them but it works on most of them.

MetroGT
Offline
Last seen: 17 years 3 months ago
Joined: 2006-12-28 21:21
Remove unwanted Programs and Rename

I found a way to clean up the menu system. Since the menu only grabs application files from the immediately next lower sub directory of the portable apps folder, you can fix the problem with a little work.

1. Create a folder under PortableApps (I used Programs)
2. Place any folders that have extra apps or incorrectly named apps in sub directories of "Programs"
3. Open windows command prompt or equivalent and create a batch file where you will only have 2 lines:

cd [subfolder]
[application]

4. Use an icon creator program, I use FX Icon 32, to create an icon for you new program file. You can even pull the icon out of the original app with this program.
5. Use a BAT to EXE converter, I use Quick Batch File Compiler. You can make it a ghost app (you won't see the window pop up, you can add the icon you want to use, and you can rename the app as you see fit.

Hope this helps. It takes a few minutes the first time, but after that, you can rename and rebuild an app in about a minute.

CrazedSyko
Offline
Last seen: 17 years 3 months ago
Joined: 2006-12-26 15:29
Re: Remove unwanted Programs and Rename

I'm having a problem understanding on how to create the batch file. Could you please explain it more thoroughly to me? Thanks.

MetroGT
Offline
Last seen: 17 years 3 months ago
Joined: 2006-12-28 21:21
Batch Files

To create a batch file you need to open command prompt. This is the old school DOS type window.

Will assume you are using the following information to create this batch file:

1. You are using the subfolder "Programs" under PortableApps Folder
2. You are creating the batch file for a program named "Software" and it's folder is located inside "Programs"
3. The application file name is called "Run.exe"

These are the steps to create the batch file to use. Remember to replace the other information with the correct ones you will need.

Open Windows Command Prompt
Type without the quotes "edit temp.bat"
You will have a blue window open up
Type without the quotes "cd Software"
Press Enter
Type without the quotes "run"

It will look like this

cd Software
run

Then either use your mouse to select File/Save or Press Alt+F and scroll down to Save and press Enter
Next either use your mouse to select File/Exit or Press Alt+F and scroll down to Exit.

Batch file is created.

Bahamut
Bahamut's picture
Offline
Last seen: 12 years 4 months ago
Joined: 2006-04-07 08:44
To create a batch file you

To create a batch file you need to open command prompt.
Not true. I made a batch file using Notepad++ without a problem. In fact, any text editor will work.

Vintage!

MetroGT
Offline
Last seen: 17 years 3 months ago
Joined: 2006-12-28 21:21
Batch File creation

You can use other programs, I never said this is the only way to create one. I was just using that method as a way to do it step by step. If you read my earlier post, I said use Command Prompt or an equivalent program to create a batch file.

MetroGT

CrazedSyko
Offline
Last seen: 17 years 3 months ago
Joined: 2006-12-26 15:29
OK. Now That I Made The Batch File, I Have Another Problem!

When I try to convert the BAT file to an EXE file in Quick Batch File Compiler, I get an error: Resource update error: BeginUpdateResource failed (1)(0). I also get a virus warning from AVG. It says stubg.dll is Trojan Horse Backdoor.Generic3.XVW.
If I remove the icon file, I get an error saying it can't open the file that will be made(the exe). The system cannot find the file specified.

mohnkern
Offline
Last seen: 17 years 3 weeks ago
Joined: 2007-03-23 09:51
PE Explorer

I downloaded PE Explorer, but couldn't find where the file maintained the description.

Topic locked