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.
move the file with timestamp
Name: sandhya Date: August 24, 2008 at 10:59:19 Pacific OS: xp CPU/Ram: intel Product: 2003
Comment:
Hi All,
I have a file by name sample.txt in FolderA..I have to copy this file to FolderB..,and i have to attached current system timestamp at the end of the file as follows sample.txt_200808242327
I am able to do this by individual commands at command prompt by copy and then using %date% and %time% variables..but i need to execute this from a .bat scripting..please help me how can i keep this in .Bat
Summary: well this following script will move the entered number html files from the folder the script is in to a folder you choose. ---------------- @echo off echo enter number of files to move set /p ep= set...
Summary: I want to modify my batch file (see code below) so that IF the first five characters in the variable Xname are af1c1 than it will move that file to a folder called af1\afc1. Or if the first 5 chars in...
Summary: Hi All, I have to move the files from one folder to other folder based on the date. For example in Folder A i will have .txt from jan 2007.I need to use a .bat script to which i should pass the date a...