Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


rb99

3505 posts

Uber Geek
+1 received by user: 1830

Lifetime subscriber

#300623 22-Sep-2022 19:41
Send private message

I'm doing something obviously wrong, but yesterday I got stuck with the 22H2 update and now I can't find how to run batch files that worked just fine before.

 

I double click and it tells me to pick a program to run it. I right click and there's no run / run as administrator or anything that I can see.

 

Any thoughts please ?





“The modern conservative is engaged in one of man's oldest exercises in moral philosophy; that is, the search for a superior moral justification for selfishness.” -John Kenneth Galbraith

 

rb99


Create new topic
Spyware
3818 posts

Uber Geek
+1 received by user: 1366

Lifetime subscriber

  #2971842 22-Sep-2022 20:05
Send private message

Windows Registry Editor Version 5.00

 

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bat]
[-HKEY_CURRENT_USER\Software\Classes\.bat]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\batfile]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.bat]
@="batfile"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\batfile\shell\open\command]
@="\"%1\" %*"





Spark Max Fibre using Mikrotik CCR1009-8G-1S-1S+, CRS125-24G-1S, Unifi UAP, U6-Pro, UAP-AC-M-Pro, Apple TV 4K (2022), Apple TV 4K (2017), iPad Air 1st gen, iPad Air 4th gen, iPhone 13, SkyNZ3151 (the white box). If it doesn't move then it's data cabled.




gzt

gzt
18679 posts

Uber Geek
+1 received by user: 7809

Lifetime subscriber

  #2971850 22-Sep-2022 20:29
Send private message

Alternatively, drag the file into to a command window.

rb99

3505 posts

Uber Geek
+1 received by user: 1830

Lifetime subscriber

  #2971968 23-Sep-2022 09:03
Send private message

Spyware:

 

Windows Registry Editor Version 5.00

 

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bat]
[-HKEY_CURRENT_USER\Software\Classes\.bat]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\batfile]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.bat]
@="batfile"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\batfile\shell\open\command]
@="\"%1\" %*"

 

 

Thanks.

 

I have no idea what to do with that.

 

well I can follow the first line to .bat, but then what please.





“The modern conservative is engaged in one of man's oldest exercises in moral philosophy; that is, the search for a superior moral justification for selfishness.” -John Kenneth Galbraith

 

rb99




bagheera
544 posts

Ultimate Geek
+1 received by user: 189


  #2971987 23-Sep-2022 09:39
Send private message

rb99:

 

Spyware:

 

Windows Registry Editor Version 5.00

 

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.bat]
[-HKEY_CURRENT_USER\Software\Classes\.bat]
[-HKEY_CURRENT_USER\SOFTWARE\Classes\batfile]
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.bat]
@="batfile"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\batfile\shell\open\command]
@="\"%1\" %*"

 

 

Thanks.

 

I have no idea what to do with that.

 

well I can follow the first line to .bat, but then what please.

 

 

 

 

create a file called temp.reg on your pc, edit it and put the detail in it, and save it, double click the temp.reg file and say yes to the admin rights, after that batch files should work again.


rb99

3505 posts

Uber Geek
+1 received by user: 1830

Lifetime subscriber

  #2971991 23-Sep-2022 09:51
Send private message

Thanks. The file is saved as temp.reg and the type is Registration Entries. I tried that and it said -

 





“The modern conservative is engaged in one of man's oldest exercises in moral philosophy; that is, the search for a superior moral justification for selfishness.” -John Kenneth Galbraith

 

rb99


rb99

3505 posts

Uber Geek
+1 received by user: 1830

Lifetime subscriber

  #2972010 23-Sep-2022 10:14
Send private message

Is fixed now. Thank You. Didn't realise that 'Windows Registry Editor Version 5.00' needed to be included in the file.





“The modern conservative is engaged in one of man's oldest exercises in moral philosophy; that is, the search for a superior moral justification for selfishness.” -John Kenneth Galbraith

 

rb99


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.