PDA

View Full Version : Features request: Restart, StrStr, and GetShortPathName


kichik
23rd November 2001, 17:47
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

crish
26th November 2001, 12:37
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 ???

kichik
27th November 2001, 19:52
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

justin
28th November 2001, 00:24
In 1.7b, you can do GetFullPathName /SHORT

-Justin

kichik
28th November 2001, 13:46
Perfect! THANK YOU!