Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 40,665 of 42,547    |
|    foxidrive to andrewniebling@gmail.com    |
|    Re: MOVE cmd and output redirection    |
|    29 May 13 15:48:09    |
      From: not@this.address.invalid              On 29/05/2013 12:25, andrewniebling@gmail.com wrote:       > Hi,       >       > I have a batch file that moves a heap of files from one directory to another       and i would like to ouput to a txt file the files that are moved, it does not       work, the txt file is created and the files get moved but there is no output       if I substitute Move        for Xcopy all works ......any ideas?       >       > Move /Y "P:\ABRplans\Survey Plans\SP230852.pdf" "G:\QRData\Sur       eyPlans\Linked\" >> "G:\zGIS_Data_Editing\QR_Log_Files\Survey_Pl       ns\SurveyPlanLink.txt"       >       >       > Regards       >       > Andrew       >              This is a workaround. Wrapped lines start in column one.               Move /Y "P:\ABRplans\Survey Plans\SP230852.pdf" "G:\QRData\S       rveyPlans\Linked\" >nul        echo moved "P:\ABRplans\Survey Plans\SP230852.pdf" "G:\QRDat       \SurveyPlans\Linked\" >>       "G:\zGIS_Data_Editing\QR_Log_Files\Survey_Plans\SurveyPlanLink.txt"                            --       foxi              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca