Old 19th September 2003, 15:08   #1
psyke
Member
 
Join Date: Mar 2003
Posts: 65
Wow - thanks for the quick reply kichik.

Ok, I'll look around and see if i can find an external sort program that i can use.

Man - I just tried the 'sort' command on xp and it worked beautifully, I wonder if it'll work on other win32 though: win95 and up.

I was trying to think of how to do an insertion sort from within NSIS on my unordered output file, but wasn't gettng very far... weird without arrays of strings. :P

Do you think it would be possible to efficiently sort an unordered file from NSIS kichik (i.e. with fileread, strcmp etc.), or no?

I like to do everything from NSIS as much as possible, plus I'll have to try and hide the DOS window with external 'sort' - I think I saw some threads about that.

Anyway, thanks again for your help, I appreciate it.

(Edit: win32GNU sort works great too, plus the syntax is more familiar to me )
(Edit: nsExec seems to be the trick to hiding dos windows - this forum is great. )
psyke is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump