Computing.Net > Forums > Programming > Adding functionality to XP

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Adding functionality to XP

Reply to Message Icon

Name: jan_rogowski
Date: March 19, 2009 at 03:57:53 Pacific
OS: Windows XP
Subcategory: General
Comment:

Hi all

I need help understanding just how you go about adding command functionality to winXP. Ultimately what I want to do is script a function that performs a simple text replacement on strings contained in an ascii file. Easy. But I want this to be available to the user via a right click menu option. Can anyone suggest a good way to A, implement the actual function and B imbed it into XPs architecture?

Cheers,
Jan.



Sponsored Link
Ads by Google

Response Number 1
Name: Impulse
Date: March 19, 2009 at 08:45:37 Pacific
Reply:

Well, I don't know if this will actually work the way you need it
to, but I'm sure that you can tweak some things to make it
work. And by the way, I'm guessing that you mean the context menu when
you right click on the desktop... You will need to modify the
registry to do this, and to actually redistribute the registry,
you have to export the registry key. Anyways, here's the
link...

http://registryeditor.blogspot.com/...

Hope this helps! =]

If you give up, might as well give up everything in life.


0

Response Number 2
Name: jan_rogowski
Date: March 19, 2009 at 10:02:28 Pacific
Reply:

Hey Impulse

Thanks! That really helped. I've worked out how to add the command to the context menu and got hold of a command line text replacer which allows me to alter the text of a specific file via something like:

ssr 0 "old_text" "new_text" c:\fileToChange.txt

now my only problem is working out how to pass the details of the file I right click on to the command. So instead of "c:\fileToChange.txt" i get the address and filename of the file i click on each time.


0

Response Number 3
Name: Razor2.3
Date: March 19, 2009 at 18:47:55 Pacific
Reply:

Use %1


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Adding functionality to XP

function to convert between bases www.computing.net/answers/programming/function-to-convert-between-bases/13985.html

Adding text to a static box in c++ www.computing.net/answers/programming/adding-text-to-a-static-box-in-c/4941.html

Batch file adding text to file also www.computing.net/answers/programming/batch-file-adding-text-to-file-also/16756.html