Mitsules, Mark
Mark.Mitsules at ngc.com
Mon Jul 14 07:31:32 CDT 2003
Perhaps you can tweak this to suit your needs. Save the text below as a .bat file. Mark :: CopyFile.bat :FilePath :: get FilePath, end if none entered set FilePath= set /p FilePath=Please input the file path: if not defined FilePath goto :eof :CopyFile xcopy C:\Temp.txt FilePath goto :eof :: end of CopyFile.bat -----Original Message----- From: Tony Septav [mailto:iggy at nanaimo.ark.com] Sent: Sunday, July 13, 2003 7:57 PM To: accessd at databaseadvisors.com Subject: [AccessD] OT: DOS Batch File Hey All Does anyone have a DOS batch file script or direct me to a source to copy a source file in a default directory on the C: drive (hard coded) and prompt the user to enter destination path.(eg.D:\Myfolder\myfile.txt). Thanks Kindly