Results 1 to 4 of 4

Thread: Command Line

  1. #1

    Thread Starter
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    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.

  2. #2
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    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.

  3. #3

    Thread Starter
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    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.

  4. #4
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    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
  •  



Click Here to Expand Forum to Full Width