|
-
Jun 20th, 2000, 12:52 AM
#1
Thread Starter
Frenzied Member
I believe this question is already asked in the past, but couldn't find it ;(
ehr..
I have a prog that removes all readonly tags from dirs & subdirs...
I want to know if it's possible to make a shell extension, when I right-click a dir it gives to option to "Remove ReadOnly", just like mcAfee does (Scan for viruses), It allready accepts command lines now (windows\send to)
Thanks,
[Edited by Jop on 06-20-2000 at 02:14 PM]
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Jun 20th, 2000, 02:05 AM
#2
transcendental analytic
In registry put:
HKEY_CLASSES_ROOT\Folder\shell\yourcommand\
(default)=your app path %1
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 20th, 2000, 04:31 AM
#3
Thread Starter
Frenzied Member
And Kedaman saved my day again hehe easier then I thought it was 
Ehr.. now a thougher question:
Can I detect when files are copied from a CD? so it will automaticly be ReadOnly removed... and kedaman, you have credit in my readme file and Info (in the app)
Thanks again for your great help, but can you also post the actual code for VB to add the key? Because I never understood that 
Thanks
Jop - validweb.nl
Alcohol doesn't solve any problems, but then again, neither does milk.
-
Jun 20th, 2000, 06:09 AM
#4
transcendental analytic
The registry code is on my homepage, use:
Code:
regval("ROOT\Folder\shell\yourcommand\")="your app path %1"
Also i don't know how to detect file copying, Maybe you could have an app that detects the copying window by it's classname, i'm not sure, never tried
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|