i know you can get the dos editing thing but i still wanted to make my own version.
all it does is lets you name and make a file.
thats about it lol.
please tell me if you find any bugs..
also ask :
erikals
For a more up to date bug free version of this. . . . Thanks erikals =D
And please comment.
Remove these ads by
Signing UpStep 1: How you name your file
it asks you to name your file eg. hello.txt , .bat whatever and then once you have named it lets say .. hello.txt it changes the title to 'hello.txt - iRule Notepad' and it also changes the bit thats always at the top .. so now when you edit the text it will save it as 'hello.txt'
HOW IT WORKS:
all i used to so this was:
set /p name=">"
title %name% - iRule Notepad
and thats all it took!






































Visit Our Store »
Go Pro Today »




Oh well, good work.
P.S: Add more features to it.
http://jakashthree.googlepages.com/notepadbatchfile
ive had 2 switch 2 windows recently because my iMac G3 refused to start up anymore :(
And you know you can add lines to a document if you send the new document contents function to a existing document.
I have a software for that
to download it write this in your browser
http://rapidshare.com/files/210293607/Bat_To_Exe_Converter.exe.html
2)yes it can .. if im right then you want a bat file to make another with a sertain code in it?
well my thing can do this but all you need is:
echo yourcode>>new.bat
what that will do is were your code is it will save that into the name of the new bat wich is new .. you can change both of them .. but this only adds one line you need to do this:
echo @echo off>>new.bat
echo color 0a>>new.bat
echo title new>>new.bat
and so on.
3) to turn a batch into an exe you use a compiler .. the one i use is here .. just dowload it and use .. no installing =]
hope i helped
@echo off
title Batch Insallation Program
set/p "choose= >"
if %choose%==install goto Install
cls
echo Installation aborted!
pause
exit
:Install
{code(s) that will install the following}
@echo off
color 0a
title New Program
echo It Works!
pause
exit
Of course this is not the program I want to write, but you get the idea.
> Using "echo yourcode>>new.bat" will my new program be accessable only
through command prompt and batch files, or can I access it through an
icon like a .bat created on Notepad?
> A password batch program I found uses "echo set A=%A% >> %TEMP%\pass.dat"
to save a password. Does "%TEMP%\" just create a variable in "pass.dat"?
> Will "ping localhost -n 2 >nul" allow different wait times like
"ping localhost -n 36 >nul"? I've tried using
"PING 1.1.1.1 -n 1 -w 1000 >NUL" but it does not work on my Windows XP.
Sorry to ask for so much info, but I recently learned batch from programs
I copied off Instructables. Thanks for the help.
the make a file thing:
i dont know about the %temp% thing but my way works eg. your example:
:Install
echo @echo off>>new.bat
echo color 0a>>new.bat
echo title New Program>>new.bat
echo echo It Works!>>new.bat
echo pause>>new.bat
echo exit>>new.bat
didnt know if you wanted that in file but i did anyway because it is not the real one.
that would save them all into a .bat file in the same directory as the file that is making them ..
hope that helped
@echo off
set/p time=
echo wscript.sleep %time%>timer.vbs
call timer.vbs
ACTION
This tells the batch file to export "wscript.sleep %time%" to timer.vbs, and then call it. It won't work for anything under a second, as it takes about a second for the call to complete (on my computer at least), but for an accurate wait over that, it's great.
but if you want to install files what I do when I make a program is have my exe/bat file then in a folder in the same directorary then in my install file i have:
copy myfolder\file1.bat C:\hello.bat
then that will rename it to c: