Im trying to copy a folder from one destination to another, and it works using a batch file -
here is:
xcopy /s %systemdrive%\users\%username%\desktop\program\folderx %appdata%\.home\saves but if copy folder desktop, there way can click batch anywhere i.e. d drive, h drive, documents, on windows machine , copies .home\saves
edit: sorry bit vague
folderx in folder on desktop called "program". batch file in folder entitled " program" on desktop. when double click batch file, copies " folderx" , subdirectory %appdata%.home\saves. lets have on flash, , copies c drive. there universal way batch file still copy folderx, regardless of "program" folder is?
also let me know.
the question unclear, here goes. copy folderx if exists in same directory batchfile.
xcopy /s .\folderx %appdata%\.home\saves this copy directories , files batch file exists.
xcopy /s .\* %appdata%\.home\saves if bit more specific question, can add options
Comments
Post a Comment