batch file

G

Guest

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.
 
P

Pegasus \(MVP\)

Porkribs said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top