[TSF] script question

Status
Not open for further replies.

Skipsjh

Ars Scholae Palatinae
1,301
I'm in the process of loading the distributed folding app onto a bunch of computers. The problem is, they are either Win98 boxen (no service install option) or they are Win2k boxen with no access to services other than to shut them down.

Here's what I've been doing:
1) copying folder onto hdd from zip disk
2) copying startup.bat (more on this later) to windows startup folder
3) starting foldit.bat silently with runh

Here's my startup.bat

@echo off
cd \distribfold
del foldtrajlite.lock
runh foldit
exit


At any rate, I want to be able to copy the startup.bat to the startup folder on either installation, and execute foldit.bat, all from a batch file, let's call it "install.bat". This would make things a lot quicker.

Thanks in advance for any suggestions.
 
alright, I just spoke with Scott, and I'm gonna make this a little more clear for him ;) :p

Here's whats going on. He wants insert the zip disk, run install.bat on the zip, then install.bat will copy all the files to the hard drive, including startup.bat to the windows startup folder. Startup.bat needs to include the lines he listed above, and I think it'll also need to include an "if/then/else" statement so that if the .lock file doesn't exist it will skip over it instead of giving an error. Then after everything is copied over, it will run startup.bat.

This will be installed on both windows98 and windows2000 machines.

I'm pretty sure I could whip something up, but I want to get some machines online tonight first. So if anybody is bored and wants to take a whack at it, feel free. Or if I've stated something wrong that needs to be done a different way, let me know please.
TIA!
Ody
 
Status
Not open for further replies.