Jump to content

whats the best way to make a rightclick Menu entry


Recommended Posts

i wanna make an option when i right click a folder/file to "Backup" which will involve sending it to a mapped network drive , but whats the best way 2 do this, i dont want a cmd window popping up, maybe an inf?

Link to comment
Share on other sites


Not sure about INFs but this REG file could do what you need:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\shell\Backup\command]
@="cmd.exe /q /c copy /y \"%1\"\\*.* path-to-mapped-drive"

INF would be? (wild guess)

HKCR, "Directory\shell\Backup\", "command", 0, "cmd.exe /q /c copy /y \"%1\"\\*.* path-to-mapped-drive"

Link to comment
Share on other sites

hey :D

thx for the suggestion, but even with your way, it doesnt copy the full directory over, it copies the contents of the directory to Y:\ , anyway 2 make it still have the directory name intact?

without using move instead..

Link to comment
Share on other sites

it copies all folders WITHIN the folder,

example:

if it was

Software

--Games

--Downloads

--Other

was the directory structure

Y:\ would have

-Games

-Downloads

-Other in the root of Y:\

Link to comment
Share on other sites

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...