Hi,
I have released a small simple user interface for apktool, smali, baksmali
And other interesting program to reverse engineering your android program.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
How to use it ?
It's very easy.
Just copy at the same folder any APK.
Lunch the program Easy Apk Dissassembler.
Press the button 0 and ENTER for dissassembly it
Modify the program with notepad++ (press 7 and enter)
And compile it with apktool by pressing button 1 and ENTER.
After it it will be automatically signed.
You just have to install an run your apk signed_YOURAPK.apk
into your phone/emulator.
with EAD it's so easy to customise your APK
Note: This is just an user interface.
Don't forget the author of the different program include especially
Brut.all and jesusfreke for their work
Download it
http://code.google.com/p/easy-apk-dissassembler/downloads/list
http://code.google.com/p/easy-apk-dissassembler/
Click to expand...
Click to collapse
Older post http://forum.xda-developers.com/showthread.php?t=643800
Note: You need to have java installed and have java in the path
Very nice tool...works well.
Thanks.
Gonna give this a Spin and report if I see bugs, btw does this edit resources file within apk? hope it does...
Yeah it is an helper/user interface for apktool and other great tool
so it can modify ressource like xml png and dex and other ressource
Getting the following error:
'java' is not recognized as an internal or external command, operable program or batch file.
dpdoughty said:
Getting the following error:
'java' is not recognized as an internal or external command, operable program or batch file.
Click to expand...
Click to collapse
Sorry... My fault. I needed to add the path to java.exe in my environmental variables
thanks, great app
How to edit XML?
For editing XML it's very easy just dissassemble with apktool
tape 0 and enter in the software
And edit simply with your notepad for exemple edit the xml with notepad++
in the folder dissassembly (dis_YOURfolderNAME)
Save the file .xml
And go to EAD (Easy Apk Dissassembler)
and use the option 1
tape 1 and enter
(assembly with apktool and sign)
And install the apk with the name sign_yourapkname.apk
I installed JAVA just fine, any idea what to enter in "system variables" so it will be in my Path?
Thanks
windows7
I believe my java is OK, I could be wrong though, so HERE is the error I am getting when trying Option 1, after I edited my apk (removed 48 pictures)
it also opens "my documents" as soon as error pops up I know this is not a application error, it is something on my end...
EDIT....The error is from me removing pictures from the apk. The index calls for X amount of images but because I deleted them it failed.
This look awesome I'll try it out when I get home.
Sent from my SGH-T959V using XDA Premium App
for java trouble please visit this link
http://www.java.com/en/download/help/path.xml
or
http://introcs.cs.princeton.edu/java/15inout/windows-cmd.html
or
http://www.google.com/#sclient=psy&...gc.r_pw.&fp=3a9ced9ae85aee08&biw=1440&bih=724
sorry, but apktool > baksmali, because it uses
.locals
instead of
.registers
in .smali code.
cordell12 said:
I installed JAVA just fine, any idea what to enter in "system variables" so it will be in my Path?
Thanks
windows7
I believe my java is OK, I could be wrong though, so HERE is the error I am getting when trying Option 1, after I edited my apk (removed 48 pictures)
it also opens "my documents" as soon as error pops up I know this is not a application error, it is something on my end...
EDIT....The error is from me removing pictures from the apk. The index calls for X amount of images but because I deleted them it failed.
Click to expand...
Click to collapse
Dude... my Windows 7 path -64 bit- is as follows:
C:\Program Files (x86)\Java\jdk1.6.0_23\bin
Where it goes:
control panel -system& security - System - advanced- environment variables.
Here you have 2 boxes, in the system variables box scroll to "Path". Click on this line and the path box pops up for you to edit, go to the begining of what is already in the path and paste the above. Actually no, first navigate to your own version of java u installed and find the "bin" folder. Now in the address bar the last thing is the "bin", right click and copy address, then paste that as the first thing in your Path in the system variables box.
EDIT: press ok on the 3 open boxes after you pasted the Path address, and make sure it as ";" after the bin;
To check you have Java in your path open cmd, type "path" and hit enter. It will be the first thing in your path.
Yawnz....
The app you want to edit needs to be in the folder you unpacked EAD to, when you hit "0" in EAD a folder will be created in there. Dip ya bread.. edit what you like.
ORioN.BAK Excellent tool dude... Much thanks.... Keep it going man...
spikey68 said:
Dude... my Windows 7 path -64 bit- is as follows:
C:\Program Files (x86)\Java\jdk1.6.0_23\bin
Where it goes:
control panel -system& security - System - advanced- environment variables.
Here you have 2 boxes, in the system variables box scroll to "Path". Click on this line and the path box pops up for you to edit, go to the begining of what is already in the path and paste the above. Actually no, first navigate to your own version of java u installed and find the "bin" folder. Now in the address bar the last thing is the "bin", right click and copy address, then paste that as the first thing in your Path in the system variables box.
EDIT: press ok on the 3 open boxes after you pasted the Path address, and make sure it as ";" after the bin;
To check you have Java in your path open cmd, type "path" and hit enter. It will be the first thing in your path.
Yawnz....
The app you want to edit needs to be in the folder you unpacked EAD to, when you hit "0" in EAD a folder will be created in there. Dip ya bread.. edit what you like.
ORioN.BAK Excellent tool dude... Much thanks.... Keep it going man...
Click to expand...
Click to collapse
i get the same error.all i did is edit text color.im new to all this so im very lost any help would be very appreciated.
Fr4gg0r said:
sorry, but apktool > baksmali, because it uses
.locals
instead of
.registers
in .smali code.
Click to expand...
Click to collapse
ROFL. You do realize that apktool just uses smali/baksmali internally for all the dalvik assembling/disassembling, right?
In particular, you might check out the -l option for baksmali
Code:
-l,--use-locals output the .locals directive with
the number of non-parameter
registers, rather than the .register
directive with the total number of
register
(but in general, I do agree that apktool is a quite nice front-end for smali/baksmali)
fezzy102 said:
i get the same error.all i did is edit text color.im new to all this so im very lost any help would be very appreciated.
Click to expand...
Click to collapse
You have system administrator rights,. Yeah?
I only told you to blow the bloody doors off!
spikey68 said:
You have system administrator rights,. Yeah?
I only told you to blow the bloody doors off!
Click to expand...
Click to collapse
Yes I do.i just cant figure it out.some where I screwed up I just dont know where.
fezzy102 said:
Yes I do.i just cant figure it out.some where I screwed up I just dont know where.
Click to expand...
Click to collapse
Via cmd prompt u typed path,. Hit return. Was java in ur path? Should be first thing if u pasted to beginning. If not its wrong dude.
I only told you to blow the bloody doors off!
Read this for help for the path with java
http://www.java.com/en/download/help/path.xml
cannot assembling..
java.io.FileNotFoundException: dis_a.apk\dist\a.apk (The system cannot find the
file specified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at com.android.signapk.SignApk.main(SignApk.java:320)
Press any key to continue . . .
Related
Just published yesterday, another program MSCEInf (http://www.codeppc.com/telechargements/msceinf/msceinf.htm)
is a Cab Analyser which show you all the things done if you install a CAB on your PocketPC : Files, Registry settings, shortcuts...
It lets you extract all files with original names and build the inf file as it was build before compiled to CAB.
So you can make changes, if you need it, and rebuild the CAB with the program of Microsoft CABWIZ (installed by Microsoft Theme Generator).
It works with all Cabs (also with TSK which are Cabs with extension changed).
It is still in french! but easy to understand. If you find that it is helpful, i can translate it in "loosely" english !
Like ThemeGenCE, it accepts "Open With" command and Drag and Drop on the window (drag and drop a cab on the opened window).
Friendly, Benoît
Thanks benoit - an english version would be nice - my french is not that good :wink:
English version has been sent to the webmaster of CodePPC 5 minutes ago.
Maybe on line today... or in two months...
Friendly, BenThon
MSCEInf in English
Now available in English !
http://www.codeppc.com/telechargements/msceinf/MSCEInfEn.zip
Friendly, BenThon
Merci bien Benoit pour MSCEInf.
It's a great one.
thx
Re: MSCEInf in English
BenThon said:
Now available in English !
http://www.codeppc.com/telechargements/msceinf/MSCEInfEn.zip
Friendly, BenThon
Click to expand...
Click to collapse
thanks benoit!
Nice app. Very well done.
tip: can you make clicking the column header sorting that column?
Cheers
Yes, it is possible. But I have just sent to the webmaster of CodePPC a version 1.3.8 with "cosmetic" improvements.
Maybe for the next one ...
Friendly, Benoît
Nice app. Very well done.
tip: can you make clicking the column header sorting that column?
Click to expand...
Click to collapse
In which pages do you think it will be useful ?
Thanks
Sorry for the late reply.
I also use your app when checking what is installed. Sometimes the deinstallation of apps is not perfect on ppc.
So sorting on items that I want to remove (files/dirs and registry hives)
would be very useful.
But is sorting when clicking the column header not default? I assume not.
Is it possible to make it extract only selected files from the cab?
Thanks
Sort Tabs
I have just implemented the alpha sort for each columns in each tabs.
I will put in the next version. Thanks for the suggestion !
I can send you this version if you give me a mail.
Friendly, Benoît
New Version of MSCEInf (1.3.9)
New Version of MSCEInf (1.3.9)
Improvements :
1) Alphabetic sort on each column in each tab.
2) New button for choosing files to extract :
Either check the checkboxes for selecting files to extract.
Or Drag and Drop files to the right column of selected files and also the ability to unselect file by Drag and Drop from the column of selected files to the recycled bin.
3) Links, About box...
4) Cosmetics...
MSCEInf Webpage
Thanks benoit - i find myself using this program more and more!
Look forward to future updates :wink:
Thanks.
If you are planning more opstions ;O)
- extract using the full path name (directory structure)
- drag & drop from the Files tab directly (with posibbility to do a selection
with the more (click, ctrl+click etc)
Got an error once reusing the already started program when dropping a cab onto it. It wasn't the cab. Retried it but could not reproduce it.
The error was in french while I use he english version.
Again great prgram. I use it nearly every day now.
Cheers
Nice App,
A super feature would be if you can double Click a file and open it with its associated application or as second option notepad (or favorite editor). so you can have a look inside with extracting all first.
Maybe even save it back afer modifictions or a feature to replace an existing file.
@BenThon
Nice tool, great work!
In the right direction to become a full alternative to 'WinCE CAB Manager', for which author claims 149US$ :evil:
If we could delete/ insert new entries/files directly in your tool and rebuilt the CAB, it would be superb ;-)
Suugestions for MSCEInf
Thanks for your encouragements !
My comments :
1) Extract files with full path name : not difficult to do (maybe later).
2) Drag and Drop from Files Tab : not difficult to do (maybe later).
3) Double click and open files with
- associated application
- Notepad
not difficult to do (maybe later).
4) Delete/Insert new entries and rebuild the cab : more laborious to do. But you can use the rebuild INF file after editing and Cabwiz to rebuild the cab. It is not difficult to do.
Next version of MSCEInf (1.4) is quite finished. Now, the program also read the _setup.xml file and extract all datas in it. It also rebuild a traditional INF file.
PS : Maybe, instead of the 145 $ for Cab Manager, my program will become a Cardware (postcard from your location)...
Work in Progress !
2) Drag and Drop from Files Tab : not difficult to do (maybe later).
3) Double click and open files with
- associated application
- Notepad
Click to expand...
Click to collapse
Points 2) and 3) are now implemented. Will be published with future version !
Point 1) for tomorrow !... Maybe...
building cab files...
anyone out there know of any good tutorials for using cabwiz and building an inf file from scratch? I have looked and looked! Basically I want to build some basic theme cabs and a few cabs that make registry changes and then put them into my extended rom. (I do a lot of experimenting and therefore a lot of hard resets!)
thanks, jess
MSCEInf V1.4 New version on line !
Contributions of version 1.4
This version now allows the reading of the files "_ setup.xml" contained in the CAB :
- Rebuilt the tree structure of file XML with possibility of extending or of reducing branches of the tree.
- Also Rebuilt a conventional INF file (can be copied to the clipboard).
- Creates a Memo (can be copied to the clipboard) with the Register keys in a format of the Regedit type (for the "Geeks").
For the CABS with a conventional INF file like those with a "_setup.xml" file :
- Possibility of "Using Folder Names" for files saving.
- Additional Informations on the files with also possibility of sorting on these new columns :
- Size of the file.
- Date and Hour of the file.
- Type of the file (its extension).
- Possibility of Multiselection on the files (Shift, Control).
- Possibility Drag and Drop for one or more files towards the Explorer (Folder, Desktop...).
- Contextual Menu on the file under the cursor (Right Button) allowing :
- Open the file with the associated application (If it is a program - Extension "EXE" - the launching of the program is prohibited, which is surer. The icon of the program is shown) or "Open with..." if there is no association.
- Open the file with the Notepad.
If MSCEinf is defined as an application for opening CAB, the program will be loaded. If it was minimized, it will be restored.
If the button of Checking of Signature is activated, MSCEInf authorizes 2 signatures ' MSCE ' and ' CE4+ ' and only those (If it is not one of the two authorized signatures, the pointer of the mouse positions on the button of checking of signature after having posted a message of alarm). If not activated, there is no checking of the signature of the CAB.
With this version you can reorder columns in Files Tabs.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
CodePPC Page
MSCEInf Page
English Version
French Version
German Version
I have asked this question on some other xda-developer forums with no solution so thought maybe I was asking in the wrong place.
Basically I have flashed to the new Topaz rom and like the new Start Menu when you tap on Start but I can only add apps and not folders. I want to link to category folders in my Windows/Start/ folder.
Please how can this be done?
I tried to go into the registry to edit the paths for each square but that did not work.
I beg of you lol! Please!
How can this be done? Folders are not .lnk files. Maybe that is the solution to make Folders into .link files.
HELP!
I can answer your question but it is in a wrong section.. so moderators will flog both of us
crajee said:
I can answer your question but it is in a wrong section.. so moderators will flog both of us
Click to expand...
Click to collapse
so answer his question and hope for the moderator to move this thread ;-)
btw: i would be interested in the answer as well
Ok..
Method 1 Only downside is clutter (unlike method2)
Without any third party app lets open a folder called Multimedia in Programs menu:
With a registry Editor got to one of the shortcut keys:
Say: HKLM\SoftwareHTC\Manila\ProgramLauncer\18
Create (if not exists) a string Value :
Name: command
String: windows\Start Menu\Programs\Multimedia
Edit the Path key:
String: windows\fexplore.exe
Save and exit your reg editor.
Click the shortcut and it will launch file explorer with the folder.
You can Change the View options in File Explorer to "Icon".
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Please wait for method 2..
Method 2
Folderview.exe from HTC has been notorious in having a hard coded encrypted path to Programs Folder and could not open any custom folder, and use to end only in questions how to do it. After much reversing this has been almost overcome in this app. Enjoy!!
Folder Viewer
Q.What does this app do?
A. It allows you to navigate through custom start menu folders on Blacksone that you can create
and categorise your applications. Modified win 6.1 ROMs have replaced the Start Menu with Manila
Programs Tab. However sometimes you need more customised access to your apps.
Instructions:
=========
Add the Favourites icon to start menu
A. Install FolderViewer.cab
B. Open the Fav.reg with Notepad on your Desktop.
In the line :[HKEY_LOCAL_MACHINE\Software\HTC\Manila\ProgramLauncher\2]
Replace "2" with the icon of your choice in the start group.
The icons are numbered as follows:
0 1 2
3 4 5
6 7 8
And so on...
Create the Start Group Shortcut
Copy the Fav.reg to your Blackstone.
Import the registry the file with your favourite registry Editor.
Create App Shortcuts in windows\Start Menu\Favourites:
Create Subfolders in the "Favourites" folder e.g System, Multimedia, Business and so on.
(A few have been created for you convenience).
Add the application short cuts of your choice to each folder.
Back Navigation:
In each of the custom folder (Multimedia, Business etc,. Add a shortcut to parent("Favourites" folder)
This shortcut called "Favourites.lnk" has been supplied in this package in sample folders.
Restart your HD. Enjoy!!
Advanced:
You can study the shortcut properties and tweak it your own satisfaction.
Limitations:
1.Navigating All Programs possible on first launch only. You can always click start menu to relaunch.
2.Use the Hard key (Back) to navigate back the second time from a subfolder.
3.Only one level of folders reasonable (but usually enough for most users anyway).
4.Tested on Blackstone with Dutty's 3.4 only.
The author disclaims any responsibility with respect to this application.
Use at your own risk.
you could also go on your pc, navigate to the folder, create a shortcut (which would be a .ink file), put the shortcut on your touch hd and then link to it in the registry editor,
THREAD MOVED to blackstone section
You have two methods now. Let me know if it helps
Matthes42 said:
btw: i would be interested in the answer as well
Click to expand...
Click to collapse
ASK768 said:
you could also go on your pc, navigate to the folder, create a shortcut (which would be a .ink file), put the shortcut on your touch hd and then link to it in the registry editor,
Click to expand...
Click to collapse
You will get a File Not found Error.
total commander is good for making shortcuts
Thanks Crajee. I used method 1 except did not use the path setting: String: windows\fexplore.exe
Instead I used the path: "\windows\start menu\games" for example
Thank you so much!
A few questions...
1. I want to use the hi res folder icon from "file explorer" each category folder. How can I link to it?
2. What is the path for manilla settings or win mo settings page as I accidentally deleted them?
3. I want to use the hi res topaz icon used for "File explore" in each category folder. What is the "Icon path" info i need? Is it to a specific dll file?
4. Finally, are there any custom icon sets i can impost and choose from or how can i customise my own icons and use them for folders or apps.
Here is the result below.
@ tboy2000 on your custom folders you never got error messages trying to open them?
(deleted)....
no mate.
here is an example of one folder...
....HTC\Manilla\ProgramLauncher\6
(Default)
(value not set)
command
\windows\start menu\office
DispName
Office
Icon Path
Is ReadOnly
0x0 (0)
Path
\windows\Start menu\
but that's not a custom folder that's one of the folders cooked into the rom.
I made a folder of my skyscape medical books, named it med books, when i did "windows\start menu\programs\med book" for the path, i get the certificate error or that it cannot be found.
for me, it works using method 1 as crajee outlined, using windows\fexplore.exe.
That aside, i'd also like to know which dll has the icons b/c i don't like having the fexplore icon...fugly...
Hi tboy2000, Nice to know it works well for U.
tboy2000 said:
2. What is the path for manilla settings or win mo settings page as I accidentally deleted them?
Click to expand...
Click to collapse
Manilla Settings path:
Command = --switchtopage Manila://settings.page
Path = \Windows\manila.exe
IconPath = \windows\HTC\Assets\Images\programlauncher\Program_icon\settings_88.qtc
DispName = [[IDS_SETTINGSTITLE]]
If you want Direct link to "All Settings" then U should use custom apps as I described in another post.
tboy2000 said:
3. I want to use the hi res topaz icon used for "File explore" in each category folder. What is the "Icon path" info i need? Is it to a specific dll file?
Click to expand...
Click to collapse
DRTigerlilly said:
That aside, i'd also like to know which dll has the icons b/c i don't like having the fexplore icon...fugly...
Click to expand...
Click to collapse
Again it seems not possible to link icons from dll files like in usual shortcuts.
So you need to extract the icon of your choice from the shellres.192.dll (copy to Desktop and extract with resource explorer eg. Reshack. Save as .ico file and copy to windows directory). In the IconPath use "\windows\myicon.ico" where myicon.ico is the name of the icon U extracted.
tboy2000 said:
4. Finally, are there any custom icon sets i can impost and choose from or how can i customise my own icons and use them for folders or apps.
Click to expand...
Click to collapse
Not I am aware of. There are a few posts on this in this forum though.
tboy2000 said:
no mate.
here is an example of one folder...
....HTC\Manilla\ProgramLauncher\6
(Default)
(value not set)
command
\windows\start menu\office
DispName
Office
Icon Path
Is ReadOnly
0x0 (0)
Path
\windows\Start menu\
Click to expand...
Click to collapse
May be some thing else you have set??
For example for me this method opens up "All programs" with the Title Office..
No Filtering occurs..
For me, when i click on a category icon, i get the list of apps in the category with the category title. See images below.
I have also used the pc prog in this link below to change the icons in my start menu...
http://forum.xda-developers.com/showthread.php?t=513501
I have not set anything else. Yes I used office in my example above but it also works with folders i have made up such as travel.
Hmmm... tboy2000 I can't understand but that would be cool. Mine always goes to first item for All Programs - Dutty 3.4. Only Title chnages. What ROM are U using?
That's why i hacked the old method (Method 2).
Anyone else??
I am using Dutty 3.4 rom also.
I just had a thought. If it just shows All Programs, that means you don't have any sub-folders in your windows start menu directory. Make sure you create new folders and name them for each category.
Hi, I'm trying to cook Scilor's groovemobile into my rom (I have permission done worry) and so I made it into a package the usual way (cab to oem - ext package rebuilder) but I cant find anywhere which specifies what location it goes too.. (as in startmenu\multimedia or %CE11%)
Is there a way to set its location?
Thanks
Mod edit: Solved
Post you *.dat or *.provxml, so I can guide you completely. (or if needed, attach the whole package).
Regards
TAEL said:
Post you *.dat or *.provxml, so I can guide you completely. (or if needed, attach the whole package).
Regards
Click to expand...
Click to collapse
It doesnt even create a .dat or .provxml file, it just creates a sub folder (files) with the contents of the .cab in
So gimme a screenshot from opened CAB. (like below image). I should know about default installation destination.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here ya go
Ok, I downloaded it's CAB and looked at it. It doesn't need to be in extra folder (like \Program File\Groove\), So you can run it in \Windows folder as default. But as you say, you need to have a shortcut in start menu. I attached a .LNK and .DAT file to this post to add it's shortcut to start menu. (note: it's default is Start Menu>Multimedia, if you don't this you can change it in DAT file easily).
Structure:
PACKAGE_GrooveMobile\
----------app.dat
----------files (folder)
---------------groovemobile.lnk
Regards
TAEL said:
Ok, I downloaded it's CAB and looked at it. It doesn't need to be in extra folder (like \Program File\Groove\), So you can run it in \Windows folder as default. But as you say, you need to have a shortcut in start menu. I attached a .LNK and .DAT file to this post to add it's shortcut to start menu. (note: it's default is Start Menu>Multimedia, if you don't this you can change it in DAT file easily).
Structure:
PACKAGE_GrooveMobile\
----------app.dat
----------files (folder)
---------------groovemobile.lnk
Regards
Click to expand...
Click to collapse
Ahh thankyou very much it seems I still have alot to learn
[★] said:
Ahh thankyou very much it seems I still have alot to learn
Click to expand...
Click to collapse
Glad to help you. Feel free to ask your questions in Chef Central.
P.S: Topic title is changed to [SOLVED]
Regards
TAEL said:
Ok, I downloaded it's CAB and looked at it. It doesn't need to be in extra folder (like \Program File\Groove\), So you can run it in \Windows folder as default. But as you say, you need to have a shortcut in start menu. I attached a .LNK and .DAT file to this post to add it's shortcut to start menu. (note: it's default is Start Menu>Multimedia, if you don't this you can change it in DAT file easily).
Structure:
PACKAGE_GrooveMobile\
----------app.dat
----------files (folder)
---------------groovemobile.lnk
Regards
Click to expand...
Click to collapse
So do I need to add your stuff to my package or is it good to go like it is? you seem to have forgotten all the files, or is it just me
[★] said:
So do I need to add your stuff to my package or is it good to go like it is? you seem to have forgotten all the files, or is it just me
Click to expand...
Click to collapse
I added files which are needed to create a shortcut. You should add those 2 files to your package which you created before. (as above structure)
TAEL said:
I added files which are needed to create a shortcut. You should add those 2 files to your package which you created before. (as above structure)
Click to expand...
Click to collapse
Yes I realise that now, I have done it
thanks again
He Star,
I think I can help you with this question as well, at least I will try.
Do a search in your kitchen to initflashfiles.dat
If you found it open it with a text editor.
Two very good ones I like to recommend for this you can find in Hilaireg's Kitchen Utils here:
http://forum.xda-developers.com/showthread.php?t=651026
Now if you opened it have a good look at the start menu hierarchy.
Do a search in initflashfiles.dat with the text editor for 'start menu' and you know what I mean.
You want to specify a path for your package shortcut on a location in your start menu isn't?
Don't close initflashfiles.dat yet.
Go into the package you want to create the start menu location for and first find the shortcut so you know the name.
Next you need to create a app.dat in the root of the package (if it doesn't exist already), to do this just create a new tekst document (right klick on a empty area and choose new\tekst document) and change the name to app.dat
Open your newly created app.dat with the same editor as you opened initflashfiles.dat
Next take the initflashfiles.dat as a sample and create the path for the shortcut according where you want to have it in your app.dat.
For example:
start menu\Programs\Tools\yourapp.lnk
Offcourse you can also specify a path to the shortcut like Teal is mentioning with a provxml but I just wanted you to know this one as well.
Hope it helps.
Grtz Leo
Laurentius26 said:
He Star,
I think I can help you with this question as well, at least I will try.
Do a search in your kitchen to initflashfiles.dat
If you found it open it with a text editor.
Two very good ones I like to recommend for this you can find in Hilaireg's Kitchen Utils here:
http://forum.xda-developers.com/showthread.php?t=651026
Now if you opened it have a good look at the start menu hierarchy.
Do a search in initflashfiles.dat with the text editor for 'start menu' and you know what I mean.
You want to specify a path for your package shortcut on a location in your start menu isn't?
Don't close initflashfiles.dat yet.
Go into the package you want to create the start menu location for and first find the shortcut so you know the name.
Next you need to create a app.dat in the root of the package (if it doesn't exist already), to do this just create a new tekst document (right klick on a empty area and choose new\tekst document) and change the name to app.dat
Open your newly created app.dat with the same editor as you opened initflashfiles.dat
Next take the initflashfiles.dat as a sample and create the path for the shortcut according where you want to have it in your app.dat.
For example:
start menu\Programs\Tools\yourapp.lnk
Offcourse you can also specify a path to the shortcut like Teal is mentioning with a provxml but I just wanted you to know this one as well.
Hope it helps.
Grtz Leo
Click to expand...
Click to collapse
Ahh thankyou, yes Ive heard of (and use) initflashfiles, but I thought I wouldnt be able to make a shortcut with it as theres all that code inbetween the location and the name, how would I know what it is? Also last night I cooked wit teal's stuff and it didnt seem to work, probably my fault so I will have to look into that in a bit
It still didnt work, no shortcut is being created, heres my package, I cant see whats wrong with it
[★] said:
It still didnt work, no shortcut is being created, heres my package, I cant see whats wrong with it
Click to expand...
Click to collapse
You did wrong and didn't pay attention to what I said.
SciLor's GrooveMobile.LNK should be in "files" folder.
TAEL said:
You did wrong and didn't pay attention to what I said.
SciLor's GrooveMobile.LNK should be in "files" folder.
Click to expand...
Click to collapse
you mean ink? and so you mean the shortcut? thanks I will try again
yeah correct.
I've examined the package and noticed one last thing.
The shortcut itself is not ok.
@Star,
Open the shortcut with the editor I suggested 'Editpadlite' and you will see this line:
67#"\Windows\SciLor's GrooveMobile.exe"
This isn't correct, it should be like this:
37#"\Windows\SciLor's GrooveMobile.exe"
You need to count the characters after '#' beginning with one.
In this case 37.
I've attached the corrected package for you as an example for next time.
TAEL said:
You did wrong and didn't pay attention to what I said.
SciLor's GrooveMobile.LNK should be in "files" folder.
Click to expand...
Click to collapse
Laurentius26 said:
yeah correct.
I've examined the package and noticed one last thing.
The shortcut itself is not ok.
@Star,
Open the shortcut with the editor I suggested 'Editpadlite' and you will see this line:
67#"\Windows\SciLor's GrooveMobile.exe"
This isn't correct, it should be like this:
37#"\Windows\SciLor's GrooveMobile.exe"
You need to count the characters after '#' beginning with one.
In this case 37.
I've attached the corrected package for you as an example for next time.
Click to expand...
Click to collapse
Ahh thanks I am trying with it now, last time it did show up in the start menu, but I got an error about directory not found :S maybe this will solve that problem
[★] said:
Ahh thanks I am trying with it now, last time it did show up in the start menu, but I got an error about directory not found :S maybe this will solve that problem
Click to expand...
Click to collapse
Yeah I still am getting an error :s 'DirectoryNotFoundException' and then loads of stuff I dont know what do do :S will this be my fault or something to do with the cab
Looking at the xml included I notice now it creates a directory in the root with the name 'SciLor's GrooveMobile'.
I tried to make a app.reg from the xml but it doesn't work.
Do you have the cab so I can make a package for you myself?
The XML looks messy.
Edit; I've found the cab and will play with it.
Meanwhile a tip for you, install the cab and check directory, the shortcut you can copy from device and use in your package.
The shortcut itself you need to redirect to that dir instead of Windows or change all path of the files in the XML.
[★] said:
Yeah I still am getting an error :s 'DirectoryNotFoundException' and then loads of stuff I dont know what do do :S will this be my fault or something to do with the cab
Click to expand...
Click to collapse
Hi,
I have built a little tool, which enables the user to browse through the phones filessystem via ADB.
You can also connect an android via ADB over TCP if its enabled on the phone.
Prerequisites are is a JRE version 1.7.0_03 or higher and ADB in Path.
Short feature overview:
- pull files from the phone to the local filesystem
- push files to the phones filesystem
- connect a ADB-over-TCP enabled Android device
- browse trough the phones filesystem
- deleting files on the phone
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Double-click on a folder will browse into it.
Double-click on a file will pull it into the pull destination an open it.
Disclaimer:
I don´t take any responsibility for data loss or any other possible damage.
Feedback and suggestions are welcome.
Repo:
https://github.com/D4r3T0B3/ADB-Fileexplorer
2 Notes about the source:
- my GUI-Design skills are not very well. If somebody got some enhancements, feel free to send me a message or a pull request.
- my code is using the commad "adb -s <device> ls", I didn´t found any note or documentation about this. So there are maybe more hidden adb command. It would be great if someone got an idea how to find them.
Known Issues:
adb freezes while loading files
output shows a failure after successful file movement
Click to expand...
Click to collapse
Changelog:
v0.3 - 28.08.2012:
white space issues fixed
version number added
about menu added
27.08.2012:
multiple language support added
Click to expand...
Click to collapse
Thanks to mGi00 for the slovak translation
Haha! I was just looking for an app like this. Thanks bro!
Sent from my throne in Hell.
Small bt grt job man
check out whether ma thnx button wrkz....
Sent from my HTC Wildfire S A510e using xda premium
It doesn't seem to work for me.
adbfileexplorer can't find the adb.
I have placed adbfileexplorer in the same directory as the adb.exe
Link for Java Runtime Env. 7:
http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1637588.html
after java se 7 update 5 install, still getting the error :
Cannot run program "adb": CreateProcess error=2, propetie file not found.
You gotto set PATH variable in windows. Google it very easy.
Windows Onlyc
on ubuntu it opens up the jar as an archive hmm
If you are getting issues trying to run it on Windows 7, just make a batch file to run "java -jar c:\path\to\adbfileexplorer.jar"
Works on Linux
LastStandingDroid said:
Windows Onlyc
on ubuntu it opens up the jar as an archive hmm
Click to expand...
Click to collapse
Starts up okay for me on archlinux. Looks like you need to be running Java 7, though.
From command line, I entered:
java -Xmx512m -jar /opt/android-sdk/platform-tools/adbfileexplorer.jar
and the adb explorer window opens up fine.
DareT0Be said:
Hi,
I have built a little tool, which enables the user to browse through the phones filessystem via ADB.
You can also connect an android via ADB over TCP if its enabled on the phone.
Prerequisites are is a JRE version 1.7.0_03 or higher and ADB in Path.
The Tool is written and compiled for Windows.
Short feature overview:
- pull files from the phone to the local filesystem
- push files to the phones filesystem
- connect a ADB-over-TCP enabled Android device
- browse trough the phones filesystem
- deleting files on the phone
Double-click on a folder will browse into it.
Double-click on a file will pull it into the pull destination an open it.
Disclaimer:
I don´t take any responsibility for data loss or any other possible damage.
Feedback and suggestions are welcome.
If someone is interrested, I could share the source.
Click to expand...
Click to collapse
Can I check out source ... would love to see how you tackled this
Thanks for your feedback and sorry for my absence, I was on a short vacation without internet or smartphone this weekend.
Keon91 said:
after java se 7 update 5 install, still getting the error :
Cannot run program "adb": CreateProcess error=2, propetie file not found.
Click to expand...
Click to collapse
is this problem still persistent? or does adding adb to the path fix it?
Can someone give me feedback if opening files via a double click is working?
DareT0Be said:
Thanks for your feedback and sorry for my absence, I was on a short vacation without internet or smartphone this weekend.
is this problem still persistent? or does adding adb to the path fix it?
Can someone give me feedback if opening files via a double click is working?
Click to expand...
Click to collapse
no phone and internet - wow
downloaded jar from op onto my windows 7 ultimate pc
plug in smartphone, double click on adbfileexplorer.jar
and it opens up and shows 1 connected device
pulled and pushed - working for me !
thanks!
i also created a shortcut to the jar file
and it opens fine. nothing added in shortcut for adb or java -
just the path to the downloaded adbfileexplorer.jar file
i didn't check, but can you multi-select files ?
Nice and useful tool. Than you so much for this.
Sent from my Galaxy Nexus using Tapatalk 2
Possible bug
Hi there,
The ADB Fileexplorer is working fine with one exeption. When I have on my sdcard a folder named with more than one word (e.g.: New files) the ADB Fileexplorer show only the first word and cant open the folder. It opens only User/Documents ... After I renamed the Folder with "_" (e.g.: New_files) its fine. Is there a way to solve this? I really dont use "_"
Thanks
EDIT: The strings were ment to another app, sorry for that
thanks for the feedback and your translations.
I added the "whitespace issue" to my todo list.
multiple language support is a nice idea. But can you please add the english translation as a comment to the strings?
Apology
DareT0Be said:
thanks for the feedback and your translations.
I added the "whitespace issue" to my todo list.
multiple language support is a nice idea. But can you please add the english translation as a comment to the strings?
Click to expand...
Click to collapse
The strings in my post was ment for another app ... really sorry about that ... but if I can I would love to make some for you as well.
EDIT
Another possible bug:
If I pull (only pull) one file it opens my documents (Win7 x64 machine) but not the Pull Destination which I selected before.
To the translation ... here http://db.tt/Co9U7jJC is a Slovak translation of Buttons of the GUI.
Translated also the logger text ... hope it´s ok to translate this as well.
If you could assemble the program with this translation I would like see the changed text if it´s ok. If ok I´ll do the czech translation ... and maybe an german one
Thanks so far
I copied your translations into a xml file, please check out the new version if i copy and pasted everything correct.
DareT0Be said:
Thanks so far
I copied your translations into a xml file, please check out the new version if i copy and pasted everything correct.
Click to expand...
Click to collapse
Ok there is a issue, can´t find any device ... the old fileexprorer is working still ok but the new one cant find my phones.
EDIT: When I type adb devices I see my devices so there shouldn´t be a problem. The Logs are with the translations.
Also there is a problem with diacritic ... letters as "ť" and "č" aren´t or are wrong displayed. Also the logger has this problem ... I wasn´t using UTF-8 coding ... made an update with UTF-8 the link: http://db.tt/Co9U7jJC
Hope its ok now.
mGi00 said:
Ok there is a issue, can´t find any device ... the old fileexprorer is working still ok but the new one cant find my phones.
EDIT: When I type adb devices I see my devices so there shouldn´t be a problem. The Logs are with the translations.
Also there is a problem with diacritic ... letters as "ť" and "č" aren´t or are wrong displayed. Also the logger has this problem ... I wasn´t using UTF-8 coding ... made an update with UTF-8 the link: http://db.tt/Co9U7jJC
Hope its ok now.
Click to expand...
Click to collapse
could you please bring your translation into this format , thanks
unfortunatly i cannot retrace your problem, please check the current version if its persistent
Hi guys n girls,
Intro
I am not sure if this is even relevant on here or not? But I figured I should share anyway. Like I mean I don't know how many of you guys use your desktop now that there is the start screen? Or how many of you even use right click menu much but for myself right click is the most used functionality I use in Windows and quite frankly come to expect from other IT systems (web, Linux etc) so this may or may not apply.
Problem/Issue
I have for ever got sick and tired of right click -> open Send to Menu and creating a Desktop Shortcut for a file or app....then needing to go to the Desktop right click the newly made shortcut and then removing the trailing file extension, dash and words shortcut in brackets. If you are like me and you want a solution where you just right click -. Create shortcut and forget and not need to do anymore then look no further.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Solution
I have small AutoIT app (compiled script) that does exactly that.
Desktop (create shortcut).au3 SHA1 - 630A9CE23BF669035EEB089C2948BBD8B38BB505
Desktop (create shortcut).exe SHA1 - 829518AD4233E59D686822D960AAC71405D57CCD
Desktop (create shortcut).ico SHA1 - 16239287978841199F8A2FC56AA36EE55F197083
Download Link Desktop (create shortcut).zip
Virustotal readout - God knows why anyone would use any of the virus scanners flagging AutoIT as a virus. This indicates to me that they are merely only searching for header info and not actually decyphering any of the code. That should be alarming to anyone. Anyway here it is, it gets 2 false negatives out of 52.
https://www.virustotal.com/en/file/...8c0dc26f98e780ae4fc546ed/analysis/1398978188/
Now the code so that you can compile it all your self. For the Geeks in other words
I have commented each part so that those of you just learning or getting a grasp of AutoIT can understand. It is really quite simple however it does take in to consideration a lot of things which many .au3 script writers tend to neglect, such as returning of the proper file extension does not mean StringTrimRight($filename, 4), as it doesn't account for long extension names nor does stopping at a period/point/fullstop.....what happens when a directory has a period? What about names of files that have other periods such as This.is.an.example.file.name.au3
Code:
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=Desktop (create shortcut).ico
#AutoIt3Wrapper_Outfile=Desktop (create shortcut).exe
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.10.2
Author: Jarmezrocks
Script Version: 1.0
Script Function: The purpose of creating this was due to an annoyance with Windows 7 where
I was constantly editing the shortcuts created from the right click 'Send To'
create 'Desktop (create shortcut)' where I would need to remove the junk that
Microsoft attached as a postfix i.e. - (short cut) and remove the file
extension as well. E.g. Notepad.exe -> creates a shortcut 'Notepad.exe - (shortcut)'
when what I really wanted created was a shortcut called 'Notepad'
This AutoIT script was created to solve this issue/annoyance.
Usage: Place the compiled exe where ever you like (here's the inception part LOL)
right click the compiled exe and create a shortcut (remember you won't have to do this ever again haha)
rename it 'Desktop (create shortcut)' the same as the Desktop (create shortcut).Desklink
item in the Send To menu.
Locate your Send To menu: Start -> Run -> type this: shell:sendto -> press enter
This opens the directory for your Send To items, likely located somewhere like
C:\Users\<User Name>\AppData\Roaming\Microsoft\Windows\SendTo
Paste the shortcut to the exe here
Note: You will now have a duplicate in the Send To menu, so I advise that you hide the old .Desklink item
Right click -> File Properties -> Hidden
Done!
Test by Right clicking any file and choosing Send To -> Desktop (create shortcut)
Acknowledgements: AutoIT Forums;
User Harlequin for this post/thread -> http://www.autoitscript.com/forum/topic/86839-how-get-file-extension/#entry623386
User Voodooman for this post/thread -> http://www.autoitscript.com/forum/topic/122807-remove-extension-from-the-filenameexample/?p=1110846
Future plans: Following versions (still testing - *I have a bug I need to iron out) should allow the user to double click the executable and
Choose to install it to the Send To context menu and automate the part outlined above in the usage section (hide the old desklink)
and create a shortcut of it's self. It should do checking so that if the user double clicks the exe again it checks for either the
existing Desklink extension or the shortcut.lnk and prompt the user if they want to remove it and restore the original Windows functionality.
#ce ----------------------------------------------------------------------------
Global $Input = $CmdLineRaw ; Obtain the selected file full path (name of file and location) as a string parsed as a command line parameter i.e %1
Global $LinkFileName = RemoveExt(GetFileName($Input)); Generate the file name from the input using the following functions
; These are pretty self explained - Thanks Voodooman (You may have necro-bumped an expremely old thread created by n00b years before who has now become a developer but we all forgive you - your post is valid)
Func RemoveExt($Input)
Local $ExtArray = StringSplit($Input, ".")
Return StringReplace($Input, "." & $ExtArray[$ExtArray[0]], "", -1)
EndFunc ;==>RemoveExt
Func RemoveExtRegExp($Input)
Return StringRegExpReplace($Input, "\.[^.]*$", "")
EndFunc ;==>RemoveExtRegExp
Func GetFileName($Input)
Local $PathArray = StringSplit($Input, "\/")
Return $PathArray[$PathArray[0]]
EndFunc ;==>GetFileName
; Importance of the following. As pointed out by Harlequin using any StringRightTrim methods of obtaining the extension doesn't account for several things
; "." can located in the path of a folder name and "." can appear more than once within files or folders i.e What would one do when trying to return
; the extension of a html file or any other long extension file type?
Func CreateLink()
If $CmdLineRaw Then ;Check if it's a command parameter i.e. %1 or path to the file you want a shortcut made for
For $YLoop = StringLen($CmdLineRaw) To 1 Step -1 ; Loop through the all of the "." in the path and string from the last "."
If StringMid($CmdLineRaw, $YLoop, 1) == "." Then
$Ext = StringMid($CmdLineRaw, $YLoop) ; Generate the extension type
$YLoop = 1
EndIf
Next
Local $Type = RegRead("HKEY_CLASSES_ROOT\." & $Ext, "") ; Look up the type from the registry to find the application
Local $FileName = $CmdLineRaw
Local $LnkFileLocate = (@DesktopDir & "\" & $LinkFileName & ".lnk"); Here is the working part - Generate the Desktop shortcut from the derived file name
Local $WorkingDirectory = ""
Local $Icon = RegRead("HKEY_CLASSES_ROOT\" & $Type & "\DefaultIcon", ""); Derive the file type icon from the registered application
Local $IconNumber = 1
Local $Description = "" ; I decided to leav this blank
Local $State = @SW_SHOWNORMAL ;Can also be @SW_MAXIMUM or @SW_SHOWMINNOACTIVE or even @SW_HIDE
If Not FileExists($LinkFileName) Then ;Check there isn't already as shortcut
FileCreateShortcut($FileName, $LnkFileLocate, $WorkingDirectory, "", $Description, $Icon, "", $IconNumber, $State); Generate the shortcut
EndIf
EndIf
EndFunc ;==>CreateLink
CreateLink() ; Execute the Function
Thanks for sharing. I can't say I've ever actually done this - leaving aside the fact that I don't use the desktop to store things much, if I were to do so I'd be more likely to use mklink instead of the context menu (I use the command line *way* more than I use any Metro app, and nearly as much as I use the desktop with a mouse) - but it's good to have solutions, and it'll probably help somebody. I just tried creating such a shortcut and I agree the added name stuff is annoying.
Thanks mate
Well, I tend to post things more so for the discovery. To me it was more fascinating working out the code to use to solve the issue rather than the issue it's self. Like when you think about it, the research and time that went into developing the code to generate the shortcuts to save time probably took longer than what it would take to correct a million shortcuts....but that's beyond the point. IMHO we as people should change how we do things if we learn that there is a better way. It takes sharing your discoveries with others before the true benefits are realised.
There is a long-known small software that allows you to do just what you wanted and more, with a simple and user-friendly GUI.
You can find it on google looking for "vista shortcut overlay manager" aka fxvisor.
It allows you to replace or remove the arrow on the shortcut icons and to remove the "- Shortcut" extension, permanently (you can uninstall the program after you've done".
It was originally designed for Windows Vista, but works just great even on 7 and 8/8.1. Just download it accordingly to your 32 bit or 64 bit Windows version (32 bit version doesn't work on Windows-x64 and vice-versa).
Uncle Scrooge said:
There is a long-known small software that allows you to do just what you wanted and more, with a simple and user-friendly GUI.
You can find it on google looking for "vista shortcut overlay manager" aka fxvisor.
It allows you to replace or remove the arrow on the shortcut icons and to remove the "- Shortcut" extension, permanently (you can uninstall the program after you've done".
It was originally designed for Windows Vista, but works just great even on 7 and 8/8.1. Just download it accordingly to your 32 bit or 64 bit Windows version (32 bit version doesn't work on Windows-x64 and vice-versa).
Click to expand...
Click to collapse
This only does what the registry edit above does. It still does not replace the file extension attached on the end. And one may as well edit for one as they would do for all. Back to square 1. Thanks for the pointer though I did already know about these guys and have used their app before, some other forum member might find this valuable.
I don't understand.
The "Vista Shortcut Manager" program worked for me, on my Windows 8.1 32 bit.
It DOES remove the "- Shortcut" extension when I create desktop shortcuts.
Uncle Scrooge said:
I don't understand.
The "Vista Shortcut Manager" program worked for me, on my Windows 8.1 32 bit.
It DOES remove the "- Shortcut" extension when I create desktop shortcuts.
Click to expand...
Click to collapse
Aggggghhhhhh :silly: DW
What I meant was...
What about the file extension?
notpad.exe normally goes to -> notepad.exe - Shortcut
With "Vista Shortcut Manager" (the same registry edit mentioned by another member)
notepad.exe goes to -> notepad.exe
I still then need to double long click or right click shortcut properties and remove .exe from the end.
What I want then is this
notepad.exe goes to -> notepad
"Vista Shortcut Manager" doesn't remove the .exe off the end of the shortcut it created, it only removes "- Shortcut" from the end. In other words, if one has to go to the shortcut created, right click and edit the shortcut and remove ".exe" or (insert any file extension here) then what is the point?
If I have to edit the shortcut to do that, then I may as well edit the shortcut to remove ".exe" AND "- Shortcut" at the same time! The idea behind this was to create shortcuts that require no additional 'touch ups' no edits or changing in anyway.
If you're happy to have the file extension left on the end of the file you created a shortcut from then that's fine; this is probably not aimed at you.
But yes thank you for pointing out that helpful app for other people that want the functionality without needing to know why/how etc.....which kind of goes against what XDA is all about. XDA is about developers sharing code, ideas, mods to various devices and computers that we can test, trial, give feedback, improve or just plain use in everyday life.
Again....this isn't specifically about the shortcut nor the desklink applet that creates them, this is more about the code that I posted, and how it 'could' potentially assist other developers who are doing something of their own that might be using say hmm get file extension of some file....say a smali file (which is denoted by a 4 character length as opposed to the more traditional 3 character length like apk) and allowing developers to "recycle" a single function that works for all file extensions rather than write a block of code for each instance. They may do this using AutoIT, or they may look at my code and see how this can be translated (with ease) to work with other languages such as C# and so forth.
Anyway I hope this makes more sense to you now?
Solution unavailable
The link to your solution on Dropbox returns 404 unavailable.