Guest Porkribs Posted July 23, 2007 Posted July 23, 2007 Hi there people, Not sure if this is the right place to post but was just wandering how can i create a batch file that runs an exe program regardless of where the file is located. for example: i have abc.exe - zipped to abc.exe extract the file to c:\ and the batch files run the exe from c:\ Thanks and does anyone know where I can read up on batch file creation? Thanks again.
Guest Pegasus \(MVP\) Posted July 23, 2007 Posted July 23, 2007 Re: batch file "Porkribs" <anony@mouse.com> wrote in message news:AF93192A-A052-4CFC-AD9F-1EAF860BA75B@microsoft.com... > Hi there people, > Not sure if this is the right place to post but was just wandering how can > i > create a batch file that runs an exe program regardless of where the file > is > located. > > for example: i have abc.exe - zipped to abc.exe > extract the file to c:\ and the batch files run the exe from c:\ > > Thanks and does anyone know where I can read up on batch file creation? > > Thanks again. You could do this: @echo off cd /d c:\ unzip d:\abc.zip c:\abc.exe
Recommended Posts