Jump to content

Recommended Posts

Posted

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?


Posted

INF can do it, but you can always use a batch file compiled to an exe. I use Quick Batch File Compiler, which has a "Ghost" feature so no CMD window will pop up. 100% silent. :)

Posted

ill check it out, i want some kinda progress bar tho, so i can see whats going on, but i dont want the uglieness of the batch file :P

Posted

thats why i was wondering about infs :P

but im not sure how 2 do the copy command in infs so it wont prompt to overwrite files (/Y for cmd files)

Posted

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"

Posted

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

Posted

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:\

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