I found 2 new scripts, here they are: http://hot.ee/antsman333/scripts/script1.zip and http://hot.ee/antsman333/scripts/script2.zip

The script1 is more stylish than the script2, but it displays the directory files with the same icon.. How could I combine these scripts together that the script1 shows the icon according to filetype like script2?

how script1 looks like: http://web.zone.ee/duub7
and script2: http://web.zone.ee/madhenry

Recommended Answers

All 5 Replies

You need to copy the file extension handling from script2 to script1.

You need to copy the file extension handling from script2 to script1.

I already did that, but unsuccessfully, the code didn't work anymore.. could you help me step by step?

Steve

nevermind i'm trying to fix it myself

I already did that, but unsuccessfully, the code didn't work anymore.. could you help me step by step?

Steve

I think it is because the scripts you tried to merge allready had errors and merging them exploited the errors. Because notice the 2 script links you provided has errors reported at the top. They could be the source of the problem.

Should be something like this (attached).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.