MCT Posted January 4, 2005 Posted January 4, 2005 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?
totoymola Posted January 4, 2005 Posted January 4, 2005 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.
MCT Posted January 4, 2005 Author Posted January 4, 2005 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
totoymola Posted January 4, 2005 Posted January 4, 2005 Hmm.. I don't know if you can make a progress bar with batch files. I don't know how to.
MCT Posted January 4, 2005 Author Posted January 4, 2005 thats why i was wondering about infs but im not sure how 2 do the copy command in infs so it wont prompt to overwrite files (/Y for cmd files)
Shotgun Posted January 4, 2005 Posted January 4, 2005 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"
MCT Posted January 4, 2005 Author Posted January 4, 2005 hey 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..
totoymola Posted January 4, 2005 Posted January 4, 2005 Hahahaha!!!! Sorry MCT. I wasn't reading everything.
MCT Posted January 4, 2005 Author Posted January 4, 2005 it copies all folders WITHIN the folder, example:if it wasSoftware--Games--Downloads--Otherwas the directory structureY:\ would have-Games-Downloads-Other in the root of Y:\
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now