Archive: Features request: Restart, StrStr, and GetShortPathName


Features request: Restart, StrStr, and GetShortPathName
Hi!

I think the first two are pretty much self explanatory.
About the third one, it converts long Windows file names into old 8.3 DOS names. It is mainly needed to add path sets to the autoexec.bat. I have patched my MakeNSIS to support GetShortPathName and the exehead size grew in about 15 bytes...

TIA
KiCHiK


I had already asked for a reboot option.

u need to include the windows functions at the moment
(or a extra prog under win2k)
maybe justin will implement the reboot function in one of the next releases ???


Two of the three solved!
StrStr is not needed as StrCpy can have a starting offeset! I didn't know this one...
And the reboot is coming in 1.7!

But I am still looking for a solution for GetShortPathName. A basic readme of where things in the source code are will most surely help integreting custom function into it.

KiCHiK


In 1.7b, you can do GetFullPathName /SHORT

-Justin


Perfect! THANK YOU!