[AccessD] OT: DOS Batch File

Steve Goodhall sgoodhall at comcast.net
Mon Jul 14 18:18:22 CDT 2003


Hasn't anyone here heard of Windows Scripting Host and VBScript (or JScript
if you must)?

Regards,

Steve Goodhall


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark
Sent: Monday, July 14, 2003 8:32 AM
To: 'Access Developers discussion and problem solving'
Subject: RE: [AccessD] OT: DOS Batch File


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
_______________________________________________
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com



More information about the AccessD mailing list