(there will be $PLUGINSDIR instead of second $EXEDIR, this is just for testing)
nsExec::Exec '"dir" $EXEDIR /B > $EXEDIR\temp.txt'
how to do it? i put this into .onInit, but it does nothing, please help, i ran out of ideas
thanks in advance
7 posts
(there will be $PLUGINSDIR instead of second $EXEDIR, this is just for testing)
nsExec::Exec '"dir" $EXEDIR /B > $EXEDIR\temp.txt'
-Stu
Function .onInit
FileOpen $R0 "$EXEDIR\temp.txt" w
FindFirst $R1 $R2 "$EXEDIR\*.*"
Loop:
IfErrors Done
FileWrite $R0 $R2
ClearErrors
FindNext $R1 $R2
Goto Loop
Done:
FindClose $R1
FileClose $R0
FunctionEnd