Computing.Net > Forums > Programming > make simple program for me?

make simple program for me?

Reply to Message Icon

Original Message
Name: Rob
Date: February 4, 2002 at 14:53:23 Pacific
Subject: make simple program for me?
Comment:

Can someone please make a simple .exe program for me? All i need it to do is:
delete C:\sierra\redbaron3d\data\rbprefs.dat
then load C:\sierra\redbaron3d\baron.exe
I'm having trouble with this game... its a long story, but it would be a great help if someone could make this program instead of having to do it manually every time. Thanks,
Rob


Report Offensive Message For Removal


Response Number 1
Name: Mark
Date: February 4, 2002 at 16:08:32 Pacific
Reply: (edit)

Open a text editor and create a file called RedBaron.bat and create the following lines within:

@echo off
del C:\sierra\redbaron3d\data\rbprefs.dat
C:\sierra\redbaron3d\baron.exe

save the file, then double click to run


Report Offensive Follow Up For Removal

Response Number 2
Name: chelsie
Date: February 5, 2002 at 12:16:06 Pacific
Reply: (edit)

hi mark,
on seeing your reply to the above question i thought that the above batch file would not work i always asumed you needed to put

cd\what ever directry
if you were going to and from another sub directry. BUT i tryed your programe and to my surprise it worked fine(in win98), it just showes that you learn somthing new every day (i dont surpose it would work like this in true dos??)
regards chelsie


Report Offensive Follow Up For Removal

Response Number 3
Name: Mark
Date: February 5, 2002 at 20:47:39 Pacific
Reply: (edit)

It sure would! But its been a while so you may need to enter the lines as below:

del C:\sierra\redbar~1\data\rbprefs.dat
C:\sierra\redbar~1\baron.exe

The ~1 may be needed because the redbaron3d directory name is longer then 8 characters and in dos may be recognized only as redbar~1. Again, I'm not sure if you even have to do this although it is perfectly acceptable. I use Win2K mostly and I have forgotten some of the subtler details of dos.


Report Offensive Follow Up For Removal

Response Number 4
Name: Rob
Date: February 6, 2002 at 18:03:36 Pacific
Reply: (edit)

Thanks for the help, the code works perfectly.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: make simple program for me?

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge