Computer Hope

Microsoft => Microsoft DOS => Topic started by: Bruce cobb on October 29, 2004, 08:34:09 AM

Title: executable bat file
Post by: Bruce cobb on October 29, 2004, 08:34:09 AM
I'm trying to map a drive and then execute a file in that drive using a batch file.  I'm sure it's relatively simple but I can't figure it out.  Suggestions anyone?

Thanks
Bruce
Title: Re: executable bat file
Post by: darrelll on November 18, 2004, 11:31:11 AM
@ECHO Trying to open an .exe
Pause

net use *\\UNC\sharename
Call C:\path\file.exe