Page 1 of 1 1
Topic Options
#211503 - 2016-05-15 07:41 PM install kixtart
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
it has been so insanely long that I can't get the board search to give me anything related, so I am asking your help. I know we have done kixtart install scripts in the past. just can't find any.

what I want is a shell integration to have kixtart checksum script right clickable on any file to present with the checksums...
_________________________
!

download KiXnet

Top
#211504 - 2016-05-15 07:51 PM Re: install kixtart [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
k... I need to hook into HKEY_CLASSES_ROOT\*\shellex

hope I don't need to actually write an extension for it to work...
_________________________
!

download KiXnet

Top
#211505 - 2016-05-15 07:57 PM Re: install kixtart [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
awesome, from windows 95 we bring you, the current windows shell \:\)

http://mc-computing.com/WinExplorer/

still don't want code a new shell extension, but I might have to unless I find a way around it...
_________________________
!

download KiXnet

Top
#211512 - 2016-05-17 09:56 AM Re: install kixtart [Re: Lonkero]
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1896
Loc: Hilversum, The Netherlands
How about adding it here?
 Code:
[HKEY_CLASSES_ROOT\*\shell\CheckSum\command]
@="C:\kix32.exe checksum.kix \"%1\""

Not sure about the syntax though.

Top
#211514 - 2016-05-18 05:42 AM Re: install kixtart [Re: Arend_]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
So, I am taking you didn't try it...

I will try to remember after I exit from cs on the computer
_________________________
!

download KiXnet

Top
#211515 - 2016-05-18 06:54 AM Re: install kixtart [Re: Lonkero]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
IT DOES WORK!

 Code:
C:\windows\wkix32.exe checksum.kix $cs="%1"


add this to the beginning of your UDF file and save it as checksum.kix
store it with wkix32 in your windows folder.
 Code:
' ' chr(13)
$c=getcommandline(1)
if ubound($c)<2
 "ERROR in ENVIRONMENT, couldn't read filename"  ? ? 'Press the any-key to exit.'
 get $ exit 0
else
endif
$c=split($c[2],'=') $c=$c[ubound($c)]
if not exist($c)
 "ERROR 2, couldn't find the file " $c " ..."  ? ? 'Press the any-key to exit.'
  get $ exit 3
endif
$=settitle('CheckSum SHA-256')
checksum($cs,'SHA256')
  ? ? 'Press the any-key to exit.'
get $
_________________________
!

download KiXnet

Top
#211516 - 2016-05-18 11:50 AM Re: install kixtart [Re: Lonkero]
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1896
Loc: Hilversum, The Netherlands
Nice!!!
Had to check it to include the full path though, else it wouldn't sometimes:
 Code:
C:\Windows\wkix32.exe C:\Windows\checksum.kix $cs="%1"

Top
#211517 - 2016-05-18 02:35 PM Re: install kixtart [Re: Arend_]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
Weird. Worked for me just fine.

I did find an MSDN article describing this (for windows NT or something) but it dis indeed require shell handler extension. This is way better.
_________________________
!

download KiXnet

Top
Page 1 of 1 1


Moderator:  Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 2220 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.127 seconds in which 0.101 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org