jacksont123 Posted February 6, 2005 Share Posted February 6, 2005 is there a way to change a icon of an exe using the command prompt [cmd]? Link to comment Share on other sites More sharing options...
MCT Posted February 6, 2005 Share Posted February 6, 2005 google for a commandline resource hacker, offhand im not sure of 1 Link to comment Share on other sites More sharing options...
jacksont123 Posted February 6, 2005 Author Share Posted February 6, 2005 THANKS!Is there a way to add switches to a .exe (like /s) using the command prompt? Link to comment Share on other sites More sharing options...
MCT Posted February 6, 2005 Share Posted February 6, 2005 u can use shortcut.exe (its a commandline tool to make shortcuts) that may be what u want Link to comment Share on other sites More sharing options...
jacksont123 Posted February 6, 2005 Author Share Posted February 6, 2005 well, i wanted to embed the switch (/s) in the program (.exe) Link to comment Share on other sites More sharing options...
prathapml Posted February 7, 2005 Share Posted February 7, 2005 No, its not possible.A switch is nothing but a branching of the code execution. You need the source code and re-compile it. Or else, if you did try to fiddle with the binaries and managed to add a new function, the resulting EXE won't execute due to being corrupted. Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted February 7, 2005 Share Posted February 7, 2005 maybe it sounds stupid but what about compressing the archive with winrar so you make a rar-sfx and use the comment to launch the program silently?like nero ;El comentario siguiente contiene secuencias de órdenes para SFXSetup=setup.exe /SN=? /WRITE_SN /SILENT /NO_UI /NOREBOOT /NOLICENSE /NOCANCELTempModeSilent=1Overwrite=1Title=Nero 6.6.0.6 Ahead Software AG or use on "setup=" command a .cmd that includes a silent switch... Link to comment Share on other sites More sharing options...
jacksont123 Posted February 7, 2005 Author Share Posted February 7, 2005 thanks a lot! Link to comment Share on other sites More sharing options...
MCT Posted February 7, 2005 Share Posted February 7, 2005 hmm, i would've suggested winrar too, if he'd been more clear on what he was asking, some programs use switches, like /S could have been a commandline to execute when launching the program, not a switch for installation, 2 bad he never specified what he wanted, could've solved it 4 hrs ago Link to comment Share on other sites More sharing options...
prathapml Posted February 7, 2005 Share Posted February 7, 2005 Hey Aero Ximian,The winrar SFX is not a bad idea in itself, but you probably know of its short-coming. During a uA install from batch-files, you will find that rarSFX'es with embedded setup switches mess up the install. It will extract the SFX, then start the setup in a new process - so this way the "start /wait" is satisfied and it proceeds to next line, whereas the setup is not yet completed. Link to comment Share on other sites More sharing options...
SiMoNsAyS Posted February 7, 2005 Share Posted February 7, 2005 that's true pra, but this guy never said anything about running the rar'ed file from a batch. checking "temp mode" should help too. i think we miss some information.i personally only use this method with just a couple of programs Link to comment Share on other sites More sharing options...
jacksont123 Posted February 14, 2005 Author Share Posted February 14, 2005 google for a commandline resource hacker, offhand im not sure of 1<{POST_SNAPBACK}>i tryed to do that but it corrupted the winrar sfxi also tryed to change the icon with the program and it didnt work Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now