Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Execute DOS Batch File From Shortcut.

Status
Not open for further replies.

Ed2020

Programmer
Nov 12, 2001
1,899
GB
I have created a DOS batch file (below) to copy a file from one directory to another.

@ECHO OFF
ECHO ***D288 ECCT Installation Routine***
ECHO ***Installation in progress. Please wait...***
ECHO
XCOPY "V:\BSS Offline Systems\D288 - ECCT\D288_ECCT_App.mdb" C:\ECCTECHO ***Installation Complete***
EXIT

I need to execute this batch file within the DOS window, but I can't remember what the syntax for the shortcut is. Can anyone help?

Cheers,

Ed Metcalfe.

Please do not feed the trolls.....
 
cmd /c Foo.bat

[red]"... isn't sanity really just a one trick pony anyway?! I mean, all you get is one trick, rational thinking, but when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top