TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech World > TIPS 'n' TRICKS

Notices

Looping Batch file - try this out!

TIPS 'n' TRICKS


Reply
 
Thread Tools Display Modes
Old 26-05-2008, 11:38 PM   #21
Junior Member (25+)
 
jjaadd's Avatar
 
Join Date: Mar 2008
Location: lebanon
Age: 16
Posts: 71
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0 jjaadd is an unknown quantity at this point


OS: Windows XP Windows Vista


Re: Looping Batch file - try this out!

ok man
its not worth al this conversation at allllll
__________________
u think that i helped u with this post?
reputate me!!!
jjaadd is offline   Reply With Quote
Old 28-05-2008, 09:01 PM   #22
Advanced Member (250+)
 
Wolfie276's Avatar
 
Join Date: Nov 2007
Location: /etc/init.d/
Posts: 441
Thanks: 15
Thanked 7 Times in 7 Posts
Rep Power: 0 Wolfie276 is an unknown quantity at this point


OS: Windows 7 Linux


Re: Looping Batch file - try this out!

i made a batch file for noobs who dont understand that u just need 2 click on a reg file for playing the game... patch

Code:
@echo off             

echo   ##############################################################
echo   #                                                            #
echo   #  TTDPatch Install Notes:                                   #
echo   #  This installation is for a old game.                      #
echo   #                                                            #
echo   #  Transport Tycoon Deluxe is a "Expansion" of               #
echo   #  Transport Tycoon. It was very popular at its time.        #
echo   #  DOS and Windows support.                                  #
echo   #  NOTE: Windows Vista is NOT supported at this version.     #
echo   #  Press any key to continue                                 #
echo   #                                                            #              
echo   ##############################################################
echo.             

Pause > NUL                                                                       
regsvr32 /s %systemroot%\apppatch\slayerui.dll
echo You have now access to the 'Compatibility' tab when you display
echo a shortcut's properties...
echo.
echo.
echo Now you need to lay TTD into registry...
echo.
echo Press any key to continue...
pause > NUL
cls
REM Renamed?
if not exist ./ttdpatchw.exe goto REG_CHK
if not exist ./ttdreg.reg goto NO_REG
cls
regedit ttdreg.reg
cls
echo.
echo Now you can play the game. This file will try autorun TTDPatch...
echo.
echo.
echo Press any key to start...
start ttdpatchw.exe
cls
goto EXIT
echo.
:NO_REG
echo ERROR: CAN'T FIND REGISTRY IMPORT. NEEDS TO BE IN SAME DIRECTORY!
if not exist ./ttdpatchw goto NO_PAT
goto ERROR
:REG_CHK
REM Ren?
if not exist ./ttdreg.reg goto NO_REG
echo ERROR: CAN'T FIND TTPATCHW.EXE, NEEDS TO BE IN SAME DIRECTORY!
goto ERROR
echo.
:NO_PAT
echo.
echo ERROR: CAN'T FIND TTDPATCHW.EXE, NEEDS TO BE IN SAME DIRECTORY!
goto ERROR
:ERROR
echo.
echo TTDPatch initialization failed! Press any key to continue
Pause > NUL

:EXIT

oh btw u know i got 2 of these: echo ERROR:
Code:
CAN'T FIND TTDPATCHW.EXE, NEEDS TO BE IN SAME DIRECTORY!
the batch file behaves in 2 different ways from win2000 to winXP

btw...those if not exist ./filename.bla

learned from the memtest86 batch file xD
__________________
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(" )_(" ) signature to help him gain world domination.

http://www.youtube.com/watch?v=ZXD4N_Mi1iE&fmt=22# Freelancer Evolving

Last edited by Wolfie276; 28-05-2008 at 09:07 PM..
Wolfie276 is offline   Reply With Quote
Old 11-06-2008, 06:42 AM   #23
News Reporter
 
1mAn3rd's Avatar
 
Join Date: Nov 2007
Location: Guilford CT, United States
Posts: 395
Thanks: 28
Thanked 20 Times in 20 Posts
Rep Power: 5 1mAn3rd will become famous soon enough


OS: Windows 98 / Windows ME Windows NT / Windows 2000 Windows XP Windows Server 2003 / Windows Server 2008 Windows Vista Windows 7 Linux Mac OS


Send a message via AIM to 1mAn3rd
Re: Looping Batch file - try this out!

Um... for one thing, from looking at your other batch file work, I'm pretty sure that you didn't fully create that yourself, but I could be wrong. And what does this have to do with this topic?
__________________
--1mAn3rd
1mAn3rd is offline   Reply With Quote
Old 28-07-2009, 10:27 AM   #24
Newbie
 
Join Date: Jul 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 stalwart is an unknown quantity at this point


OS: Windows XP


Re: Looping Batch file - try this out!

Hey Guys how to disable the taskmanager here in the vbs file for eg: I have made this .vbs file where the message box talks itself but it can be stopped from the talk manager..how to disable the task manager in .vbs file ???
Here is the program....or say code hehe

text=msgbox("HEllo",1,"Title")
stalwart is offline   Reply With Quote
Reply

Thread Tools
Display Modes



< Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT +5.5. The time now is 07:36 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional