I head about a qbasic program that could make files undeletable... it only worked on ME or something though.
Anybody here happen to have that code:?:

Recommended Answers

All 2 Replies

I head about a qbasic program that could make files undeletable... it only worked on ME or something though.
Anybody here happen to have that code:?:

I don't know what OS this will/will not work on. Should work on
95,98,NT,ME

using shell "attrib +- attribute filename"
+r sets read-only attribute (which may be what you want)
-r removes read-only

+a sets archive attribute
-a removes it

+h sets hidden attrib
-h removes it

+s set system attrib
-s removes it

Well, I heard about a QBasic file that made a file 100% undeletable... no hatter how you changed the file properties... I'd imaging it would make viruses extremely hard to exterminate(:D not that I'm trying to make viruses) just want to know... I am curios about lotsa stuff.

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.