|
Answer» in win xp at the command PROMPT I'm attempting to create a batch file that does this:
copy F:\Access Database\Premier Assets Management XP.mdb C:\Access Database\Premier Assets Management XP.mdb (f: being the shared network drive and c: being the individual workstations) the files and folders having the long filenames seem to be an issue. i tried substituting ?, _ , ~ in place of the spaces with no luck. helpCode: [Select]copy "F:\Access Database\Premier Assets Management XP.mdb" "C:\Access Database\Premier Assets Management XP.mdb"
Good luck. thanks, apparently i need itI am having the same problem and I have tried the PREVIOUS post's format with no luck. This is my command, below, (I'm running it from a dos batch file initiated at the windows explore window (right-click on Start, then Explore)). The response I get is "The system cannot find the file specified". This should be the correct path - I copied and pasted from the windows explore address box to be sure. I'm trying to copy files from a network drive to local. I've been struggling with this for some time. If anyone can help me out with this I'd be so grateful.
G: copy "G:\FORMS\ken\LMC Smart Design\*.*" "C:\LMC Smart Design\*.*"Quote from: lgbailey on February 13, 2008, 08:21:58 AM copy "G:\FORMS\ken\LMC Smart Design\*.*" "C:\LMC Smart Design\*.*"
You can LOSE the bit in red, not needed and may be stopping the command working. thanks for everyones help, this is what worked:
Code: [Select]:begin cls cd F:\"Access Database\" copy "Premier Assets Management XP.mdb" C:\"Access Database\" start /max c:\"program files\microsoft office\office12\msaccess.exe c:\"access Database\Premier Assets Management XP.mdb" :end Dias de verano: Yes, I think you were right about removing the "\*.*" from the end of the command. That was part of the problem. The other part was I needed to copy subfolders so I changed the command to xcopy ENDING with /e and that worked like a charm. Thanks so much for putting me on the right TRACK.
|