Jump to content

batch file


Recommended Posts

Guest Porkribs
Posted

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.

  • Replies 1
  • Created
  • Last Reply
Guest Pegasus \(MVP\)
Posted

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


×
×
  • Create New...