New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
sunsetaw11
Old
(Last edited by sunsetaw11; 4th June 2012 at 11:12 PM.)
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Jun 2012
Default [Q] ApplyRecovery.bat

this is gonna sounds stupid but i followed every step but i cant seem to get the file to be only ApplyRecovery.bat, thats how i named the files but it does only open notepad....like if it was reading ApplyRecovery.bat.txt

Step 5: create a text file using notepad, called ApplyRecovery.bat. Make sure it is not named "ApplyRecovery.bat.txt" . It will contain the following lines (copy/paste is fine)
 
sunsetaw11
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Jun 2012
i did it finally
 
Strephon Alkhalikoi
Old
#3  
Strephon Alkhalikoi's Avatar
Senior Member
Thanks Meter 271
Posts: 1,055
Join Date: Aug 2010
For future reference, it might help others if you explained how you solved your problem. For example, given this issue where the file is opening in notepad, one of the following possibilities is apparent:

1. When saving the file, you did not enclose the file name in quotes, e.g. "ApplyRecovery.bat". Enclosing the file name in quotes overrides the automatic generation of extensions and saves the file exactly as you wish.

2. Batch files, files ending in .bat, were set to open in notepad instead of being ran when double-clicked. This would by necessity require you to delete the file association before the batch file would work.
Noob FAQ
Q: Can someone suggest a link I can follow that will walk me through the root process for this phone?
A: Simple answer is no. Do your homework. No spoonfeeding here. Check the stickies and the search engine. You'll find it soon enough.

My Downloads: Stargate Boot Animation | ICS-style Theme for DSC (Updated 6/8) | MultiFlasher