IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How to associate file type with a do-nothing fake software?, Removing file association and system question for such association
Zerow
post Oct 25 2016, 18:57
Post #1


Member


Group: Full Members
Posts: 682
Joined: 31-January 15
From: East of Eurolandia
Member No.: 20375
Mp3tag Version: 2.84



When I edit audio, I have this files created by sound editor; which can't even be opened by that sound editor. They just store some info about editing process of a WAV file [so after my editing is done, I just delete them]

But every now and then I accidentally click them and have a Windows question about, what should be used for opening them. And so I have to cancel that operation

Or alternatively I can associate them with for example Windows Media Player Classic, which will open them and just not play them- but then of course I will get a new instance of MPC, which I will have to close. So it's a similar drag



So I was thinking: If I had some EXE or BAT that would simply do nothing with them [and not spit an error being unable to read / process them], the problem of the accidental clicking would be solved

Does anyone have a ready solution of that sort, that I could use?
Go to the top of the page
 
+Quote Post
ohrenkino
post Oct 25 2016, 19:43
Post #2


Member


Group: Full Members
Posts: 9024
Joined: 9-December 09
From: Norddeutschland / Northern Germany
Member No.: 11458
Mp3tag Version: 2.84b



This page
(which I found with the search term "do nothing batch file")
http://stackoverflow.com/questions/7190536...-in-windows-cmd

has some suggestions.

Windows should have the methods to associate the file type to that batch file.


--------------------
42 - wie war die Frage / what was the question / quelle était la question
Go to the top of the page
 
+Quote Post
Zerow
post Oct 26 2016, 18:32
Post #3


Member


Group: Full Members
Posts: 682
Joined: 31-January 15
From: East of Eurolandia
Member No.: 20375
Mp3tag Version: 2.84



QUOTE (ohrenkino @ Oct 25 2016, 20:43) *
This page
(which I found with the search term "do nothing batch file")
I went with a different approach in Google: ASSOCIATE FILE FORMAT WITH DO NOTHING

QUOTE (ohrenkino @ Oct 25 2016, 20:43) *
http://stackoverflow.com/questions/7190536...-in-windows-cmd

has some suggestions.

Windows should have the methods to associate the file type to that batch file.
It seems that this Ricardo Stuven person there got it right for me

Something as simple as his
CODE
echo Wait for it...
call
echo Nothing happened!
in a BAT file does the trick. I only get for a split second command line window, but it closes itself immediately. And that is even better, becasue in that way I am informed that I have clicked the wrong file

So kudos to him and kudos to you ohrinenko
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 24th September 2017 - 11:24