Tweaking.com Support Forums

Main Forum => Tweaking.com Support & Help => Topic started by: jesferkicks on July 15, 2014, 02:41:01 am

Title: Adv System Tweaker
Post by: jesferkicks on July 15, 2014, 02:41:01 am
This app employs batch (.bat) files to launch various tweaks.  Somehow I've screwed up and have associated bat files with notepad so instead of running apps I get to read the bat files.
Problem:  I don't know what program to assign in lieu of Notepad and if memory serves, Windows doesn't make it an easy task either.  Anybody know? :confused:
Title: Re: Adv System Tweaker
Post by: Shane on July 15, 2014, 10:16:42 am
My Windows Repair program has a repair bat associations option in it :-)

You didnt tell me what version of windows you are on or I could have posted a reg file for you, otherwise just use my Windows repair, when you get tot he repair screen uncheck every repair, then under the "Repair File Associations"  which is number 23 you will see the bat one which is number 23.01

Choose it and hit start repairs, you will need to reboot after :wink:

Shane
Title: Re: Adv System Tweaker
Post by: jesferkicks on July 18, 2014, 10:35:13 pm

Thanx for the response.
I tried the Windows Repair utility as you instructed to no avail.  Ran it as myself and elevated it through my shortcut properties and ran it as administrator with the same results. Control Panel's Set Associations had extension bat default program as notepad before and after.  Tried running a couple of bat files with the same results.  Windows still launches the bats as notepad read files.  Your program seemed to work without errors, here's the log file:

----- Begin Windows Repair Log.txt -----

System Variables
--------------------------------------------------------------------------------
OS: Windows 8.1 Pro
OS Architecture: 64-bit
OS Version: 6.3.9600
OS Service Pack:
Computer Name: DELLXPS
Windows Drive: C:\
Windows Path: C:\WINDOWS
Program Files: C:\Program Files
Program Files (x86): C:\Program Files (x86)
Current Profile: C:\Users\Matt
Current Profile SID: S-1-5-21-2837509893-3066504219-2024476280-1001
Current Profile Classes: S-1-5-21-2837509893-3066504219-2024476280-1001_Classes
Profiles Location: C:\Users
Profiles Location 2: C:\WINDOWS\ServiceProfiles
Local Settings AppData: C:\Users\Matt\AppData\Local
--------------------------------------------------------------------------------

System Information
--------------------------------------------------------------------------------
System Up Time: 0 Days 00:01:16

Process Count: 63
Commit Total: 1.42 GB
Commit Limit: 9.25 GB
Commit Peak: 1.43 GB
Handle Count: 22285
Kernel Total: 192.71 MB
Kernel Paged: 136.52 MB
Kernel Non Paged: 56.19 MB
System Cache: 708.62 MB
Thread Count: 979
--------------------------------------------------------------------------------

Memory Before Cleaning with CleanMem
--------------------------------------------------------------------------------
Memory Total: 8.00 GB
Memory Used: 1.17 GB(14.6057%)
Memory Avail.: 6.83 GB
--------------------------------------------------------------------------------

Cleaning Memory Before Starting Repairs...

Memory After Cleaning with CleanMem
--------------------------------------------------------------------------------
Memory Total: 8.00 GB
Memory Used: 964.89 MB(11.7821%)
Memory Avail.: 7.06 GB
--------------------------------------------------------------------------------

Starting Repairs...
   Started at (18 Jul 14 22:11:53)

23.01 - Repair bat Association
   Start (18 Jul 14 22:11:56)
   Running Repair Under Current User Account
   Running Repair Under System Account
   Done (18 Jul 14 22:12:03)

Cleaning up empty logs...

All Selected Repairs Done.
   Done at (18 Jul 14 22:12:03)
   Total Repair Time: 00:00:11


...YOU MUST RESTART YOUR SYSTEM...
-----End Windows Repair Log.txt -----

and yes I restarted the system :)

BTW, I'm using Win 8.1.

I'm impressed with your program.  Love the way it reminds you of the preliminaries like registry backup, chkdsk and SFC.  Those are the types of things I sometimes forget to do when looking for problems.  Well done.

Anyway, know not what else to say.  Still stuck in la-la land.

Jesferkicks
Press to Test ... Release to Detonate
Title: Re: Adv System Tweaker
Post by: Willy2 on July 18, 2014, 11:46:48 pm
Then you need to select all repairs because it seems some program has messed up the permissions of the registry. And that can be fixed with running all repairs.
Title: Re: Adv System Tweaker
Post by: Shane on July 21, 2014, 12:25:25 pm
You can also check to see if the registry got changed or not.

IN the folder of the program go to the subfolder files\regfiles\file_associations\ and then your version of windows. There you will see bat.reg You can right clcik on it and hit edit to see what it tries to set.

The one you want to look at in the registry is

HKEY_CLASSES_ROOT\batfile\shell\open\command

which should be \"%1\" %*

Shane