I use xcopy to backup the contents of my Libraries, so I need a command line path to the various Libraries. There are hundreds of answers on the Web, all wrong. This should be easy.
Alternatively is there a backup program that keeps the files you backed up visible on your backup drive through Windows Explorer?
Windows 7 backup/restore do what I need, just very slowly.
Conservative. Idaho. Software engineer. Historian. Trying to prevent Idiocracy from becoming a documentary.
Email complaints/requests about copyright infringement to clayton @ claytoncramer.com. Reminder: the last copyright troll that bothered me went bankrupt.
Friday, August 19, 2016
Subscribe to:
Post Comments (Atom)
I don't know of a programmatic way to find this information, but if you right-click on the library in Explorer and choose Properties, you'll get a dialog that shows you all the directories in the library.
ReplyDeleteRick C: It shows paths that are empty from cmd.
ReplyDeleteGuess I'm not sure what you mean, Clayton. I added c:\temp to my Documents library, then I right-clicked on the Documents library in Explorer and chose Properties. Then I got this:
ReplyDeletehttp://imgur.com/a/4W6BN
notice it shows the temp folder, and also "documents"--the first one, of course, is c:\users\rick\documents, so I know the full path of both directories in the library.
Properties shows me that My Documents is in C:\Users\clayton but most of the files in My Documents are not in C:\Users\clayton.
ReplyDeleteOh. No, "My Documents" is c:\users\clayton\documents by convention.
ReplyDeleteNot on mine.
ReplyDelete%userprofile%\My Videos %userprofile%\Documents etc.
ReplyDeleteYou can access this list of system variables by opening cmd prompt and typing the cmd set and hit enter.