[AccessD] OT: DOS Batch File

Tony Septav iggy at nanaimo.ark.com
Sun Jul 13 16:23:31 CDT 2003


Thanks to all who responded. Much appreciated.

I came up with 3 methods

copy con  my.bat
@echo off
cls
copy c:\source\srsfile.txt %1

At  DOS prompt type
c:\mybat.bat d:\dest\destfile.txt

There is a file strings25.com (DOS enhancement)
That allows you to assign a variable to ask prompt line in a batch file
(the user inputs the info at the on screen prompt and presses <Return>)
strings Name = ask Please enter the Path

Also I haven't tried it but another solution suggeted was to create a
shortcut on the desktop for the batch file (eg. mybat.bat) and then on
the command line enter
mybat.bat ?
And a prompt window will open.



More information about the AccessD mailing list