Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
batch move files log help
Name: Allen (by dryroasted_99) Date: August 24, 2008 at 18:32:23 Pacific OS: WIN CPU/Ram: 512 Product: Dell
Comment:
i am working on script that moves file from a pc to a server. The user wants logs on her pc. The script that I have worked on works and it even gets her the logs but i can't show in the log how many files were moved or for example none were moved. Can you please help!
@echo off :: variables set drive=pc41136 set time = echotimestamps 1 set folder=%date:~4,2%/%date:~7,2%/%date:~10,4% set backupcmd=xcopy /s /c /d /e /h /i /r /y rem from pc to target pc %backupcmd% "\\pc29224\c$\fastpush" "\\pc41136\c$\backup" echo Backup Complete! - Your Backup folder is located at %drive% Date: %folder% Time: %time% >>\\nt29224\c$\log.txt
Summary: Here's a little batch I've been using to move files with full paths specified in a txt list (filelist.txt) to a folder called "files" on the C drive: @echo off for /F "delims=" %%i in (filelist.txt) d...
Summary: Basics: I want to know how to write a program that can move files from one directory to another automatically, without changing the files at all. More in Depth: I know how to program quite a bit in Ja...
Summary: I'm new to DOS batch files but help to do the following: find any files under a certain size in a directory and move them to another directory.. ...