Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi Guys,
Is there a way I can make a batch file make another batch file with a script?
I have already got:
\>pw.bat
now how can I make it write the script?
Thanks =P
I build Custom Computers And Write Software

"\>pw.bat"
OK I give up. What is that?
=====================================
If at first you don't succeed, you're about average.M2

Ok I figuerd it out!!
Here is what I have:
@ECHO OFF
color a
SET/p file=Type The File's Name:^>
ECHO @ECHO OFF >> %file%.batECHO COLOR A >> %file%.bat
ECHO SET/P usr=Enter Username: >> %file%.bat
ECHO SET/P pas=Enter Password: >> %file%.bat
ECHO ECHO Username=: %usr% >> log.txt >> %file%.bat
ECHO ECHO Password=: %pas% >> log.txt >> %file%.bat
ECHO CLS >> %file%.bat
ECHO COLOR C >> %file%.bat
ECHO ECHO Your Username: "%%usr%%" >> %file%.bat
ECHO ECHO Your Password: "%%pas%%" >> %file%.bat
ECHO ECHO. >> %file%.bat
ECHO PAUSE >> %file%.bat
I build Custom Computers And Write Software

![]() |
Create Table SQL command ...
|
increase scroll back for ...
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |