PDA

View Full Version : Techy Computer Question



Jacko
06-06-2003, 14:40
Am writing a batch file that prompts user for input then uses that in the path to run another batch file.

Quite simply

answer Enter server code

f:\batch\winxp\%answer%default.bat

The Answer.com application is in the same folder and it works on windows 9x but not XP.

Does anyone know what the xp equivalent is please, cause i'll get some brownie points if i get this right :D

MattyGee
06-06-2003, 14:42
i think that if you force a peice of toast into the cd drive that should sort it :thumbs:
you cant say i never help you out :wack: :D

Jacko
06-06-2003, 14:45
Originally posted by MattyGee
i think that if you force a peice of toast into the cd drive that should sort it :thumbs:
you cant say i never help you out :wack: :D

Cheers matey, should it be buttered though, and if so on what side ?

:D

MattyGee
06-06-2003, 14:52
hmmm, tough one... i think if you butter the least burnt side and put some marmalade on as well it should be ok, if not then try again but add a cup of coffee slowly poured into the case fan of the computer - sorted :thumbs:

Jacko
06-06-2003, 14:55
:cool:

Cheers bud, i'll give it a go :D :D

symbol
06-06-2003, 15:16
Originally posted by Jacko
cause i'll get some brownie points if i get this right :D

:eek: :eek: :eek: you live next door to the fecking director :notworthy :notworthy



:thumbs:

Jacko
06-06-2003, 15:55
Ahh shi*t feck, smoke, lots of smoke :eek: :eek:

Matty to coin a phrase


























Ye ded :wack:

Simon
06-06-2003, 15:56
lol

Dave_S
06-06-2003, 16:41
Can you not tell them to type the server code on the command line when executing the batch?

ie

batch.bat server1

then put %1 where you want to reference the first command line option then %2 if you need a second etc.

Dave

MattyGee
06-06-2003, 17:38
dave, dont confuse him, hes doing fine with the toast ;)

jacko, do as i said and whatever anyone tells you, keep adding more jam ! :D

Jacko
06-06-2003, 22:03
Originally posted by MattyGee
dave, dont confuse him, hes doing fine with the toast ;)



absolutely pmsl :D :D :D

Dave - much better way of doing it cheers, i'll have a play with that on monday :thumbs: