Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    1,546

    Request for command script

    I'm trying to create a command script that will automatically place some text, in the following location.

    Location: MyComputer\Tools\Folder Options\File Types\Folder\Advanced\New

    The text I would like to automatically appear is:

    In the ACTION box: "Print Folder Contents"
    In the APPLICATION USED TO PERFORM ACTION box: "C:\print_directory.bat"

    Does anyone know how I can do this?

  2. #2
    Join Date
    Sep 2006
    Posts
    77

    Example

    Registry.CreateKey(HKEY_CLASSES_ROOT, "Folder\\shell\\Print_Folder_Content\\command" );
    Registry.SetValue(HKEY_CLASSES_ROOT, "Folder\\shell\\Print_Folder_Content", "", "Print Folder Content", REG_SZ);
    Registry.SetValue(HKEY_CLASSES_ROOT, "Folder\\shell\\Print_Folder_Content\\command" , "", 'C:\\print_directory.bat "%1"', REG_SZ);

    Is it right?

  3. #3
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    1,546

    Thanks!

    Thanks mangomel, I'll give it a try and let you know if it works for me.

Similar Threads

  1. Sending a meeting request through AMS
    By markczajka in forum AutoPlay Media Studio 5.0
    Replies: 5
    Last Post: 02-02-2005, 03:17 PM
  2. Feature Request - AMS Object Import
    By Evoluent in forum AutoPlay Menu Studio 3.0
    Replies: 1
    Last Post: 11-13-2000, 01:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts