Jump to content

Recommended Posts

Posted

I have an archiving script for our business. Problem is, we need to tell the program (via an INI file) which files/folders to archive, and which ones to exclude. up until now, we've just manually entered the paths into the INI but this is clumbsy and quickly becoming unmangeable... and isn't really user friendly.

So I thought instead I could just right-click on any given file/folder in the windows explorer and mark it for archiving. Sort of like when you right click on a file and zip it, or scan it for a virus, or whatever.

So if someone knows how to make it so I can right-click a file and do [something] I'd appreciate the help. Thanks.

LD

Posted

RegWrite('HKEY_CLASSES_ROOT\Folder\Shell\ClickCopy - Source\Command', '', 'REG_SZ', @WindowsDir & '' & @ScriptName & ' /Source "' & '%1"')

Yep! That's what I needed... thanks.

LD

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...