Jump to content

Creating a new command in WINAPP2.INI


rmlazzari

Recommended Posts

Hi, can someone help to create a command in WINAPP2.INI to replace the information in

 

"HKCU\Software\AnvSoft\Any Video Converter\Setting\Output\DefaulMediaFolder"

 

It keep the last opened file's folder but I'd like to keep the place I have my files, "D:\Filmes".

 

I already studied the WINAPP2.INI I have here and I guess I'm near the answer. I've inserted the follow lines after the "defaut" [AnvSoft Any Audio Converter (Logs)*] section:

 

 

[AnvSoft Any Audio Converter (Last Folder)*]
LangSecRef=3023 // what's this line stands for?
Detect=HKCU\Software\AnvSoft\Any Video Converter\Setting\Output\DefaulMediaFolder
Default="D:\Filmes"
 

 

But this does not work...

 

 

Thanks.

Link to comment
Share on other sites

  • Moderators

This action is not achievable in ccleaner. "Default" in the entries refers to if the entry starts checked in ccleaner or not.

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

Support at https://support.ccleaner.com/s/?language=en_US

Pro users file a PRIORITY SUPPORT via email support@ccleaner.com

Link to comment
Share on other sites

Thanks, Nergal. And what about to clean or to delete the info kept by Any Video Converter, can Ccleaner do that? It's not the ideal for me but it could help.

 

I've read the link in your signature to explanation, so I've changed the secction to:

 

[AnvSoft Any Audio Converter (Last Folder)*]
LangSecRef=3023
Detect=HKCU\Software\AnvSoft\Any Video Converter\Setting\Output
Default=True
RegKey1=HKCU\Software\AnvSoft\Any Video Converter\Setting\Output\DefaulMediaFolder

 

But the string value I want to blank or to delete keeps the same. As I tryied to say (excuse my not-too-good English, pls), if thes strings could get blanked OR if the whole key (DefaulMediaFolder) could be deleted, I'd be satisfied.

 

Ah! With the changes I've made, now the "AnvSoft Any Audio Converter (Last Folder)*" checkbox appears in the options menu.

Link to comment
Share on other sites

  • Moderators

You need to put items in the entry (Filekey or (regisry) key)

Head over to the thread on the community winapp2 for some examples

Lang sec ref is the section on ccleaner it shows under (internet, media, firefox etc) if the header On the community one doesn't have what number relates to which section I can post them when I'm at my PC later today

 

ADVICE FOR USING CCleaner'S REGISTRY INTEGRITY SECTION

DON'T JUST CLEAN EVERYTHING THAT'S CHECKED OFF.

Do your Registry Cleaning in small bits (at the very least Check-mark by Check-mark)

ALWAYS BACKUP THE ENTRY, YOU NEVER KNOW WHAT YOU'LL BREAK IF YOU DON'T.

Support at https://support.ccleaner.com/s/?language=en_US

Pro users file a PRIORITY SUPPORT via email support@ccleaner.com

Link to comment
Share on other sites

  • Moderators
You can't do this with CCleaner! However Windows itself already has the RegEdit tool built-in to accomplish this with ease simply by using a modified saved .REG file. I do this all the time with 7-Zip settings.
 
 
Example of what is unwanted (exported .REG file modified to delete the settings, notice the "-" character in front of the reg path which deletes settings -- use with extreme caution though):
 
Windows Registry Editor Version 5.00
 
[-HKEY_CURRENT_USER\Software\Some Program Name\Settings]
 
Example of what is saved into the registry, i.e.; the wanted settings:
[HKEY_CURRENT_USER\Software\Some Program Name\Settings]
"DefaultOpenPath"="C:\\Videos"
"DefaultExportPath"="C:\\Videos"
 
---------
 
And how to combine the two into one single .REG file:
 
Windows Registry Editor Version 5.00
 
[-HKEY_CURRENT_USER\Software\Some Program Name\Settings]
 
 
Windows Registry Editor Version 5.00
 
[HKEY_CURRENT_USER\Software\Some Program Name\Settings]
"DefaultOpenPath"="C:\\Videos"
"DefaultExportPath"="C:\\Videos"

 

Link to comment
Share on other sites

Is it DefaulMediaFolder or DefaultMediaFolder? If it's the latter, that'd explain why it is not being deleted.

Thanks, Winapp2.ini. I wrote wrong here and in the WINAPP2.INI file too. But now, correct, it doesn't work yet.

 

I guess Andavari below quoted gave a good solution.

 

 

 

 

You can't do this with CCleaner! However Windows itself already has the RegEdit tool built-in to accomplish this with ease simply by using a modified saved .REG file. I do this all the time with 7-Zip settings.
 
 
Example of what is unwanted (exported .REG file modified to delete the settings, notice the "-" character in front of the reg path which deletes settings -- use with extreme caution though):
 
Windows Registry Editor Version 5.00
 
[-HKEY_CURRENT_USER\Software\Some Program Name\Settings]
 
Example of what is saved into the registry, i.e.; the wanted settings:
[HKEY_CURRENT_USER\Software\Some Program Name\Settings]
"DefaultOpenPath"="C:\\Videos"
"DefaultExportPath"="C:\\Videos"
 
---------
 
And how to combine the two into one single .REG file:
 
Windows Registry Editor Version 5.00
 
[-HKEY_CURRENT_USER\Software\Some Program Name\Settings]
 
 
Windows Registry Editor Version 5.00
 
[HKEY_CURRENT_USER\Software\Some Program Name\Settings]
"DefaultOpenPath"="C:\\Videos"
"DefaultExportPath"="C:\\Videos"

 

 

 

Thanks, Andavari, I'm going to create a batch file to modify the registry set as I want to, and I intend to call this batch from a script I'll set through GPEDIT.MSC, (Computer configuration / Windows configuration / Scripts (TurnOn/TurnOff)). It's good for me because I always reboot the PC before begining each work.

 

(Excuse if the terms of menu path for GPEDIT.MSC is not correct but my version of Win7 is in Brazilian Portuguese, so I've tryied to translate).

 

 

Thanks, Andavari, Winapp2.ini e Nergal!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.