RSS

December 10, 2009

<.bat>Adding Any File To Startup

1) Open Notepad
2) Copy the code below:
echo off
copy "switching.txt" "C:\Documents and Settings\%username%\Start Menu\Programs\Startup"
3) Save it as a .bat file..and its done!

Here's the link to the created .Bat file: Download

<.Bat>Combine Multiple TextFiles In One

1) Open Notepad
2) Copy the code below:

@echo off>merge.txt
for /r /d %%a in (.) do copy/b merge.txt+"%%a\*.txt" merge.txt
3) Save it as a .bat file...and its done!

Here's the link to the created .Bat file: Download

Change *.txt to *.bat For Saving Multiple Batch File's Code Into a Single TextFile