一些小脚本
合并文件夹内所有文件
合并文件夹内所有(txt文本)文件,每个原文件为一个小段,每段之前都添加一行内容为原文件名,此外每段之前和之后都添加一行空行。
1 @echo off 2 (for %%a in (*.txt) do ( 3 echo %%~na&echo. 4 more /e "%%a"&echo. 5 ))>total.txt
为邮件添加背景音乐
以下为html5元素
1 <video controls="" autoplay="" name="media"><source src="歌曲网络连接" type="audio/mpeg"></video> 2 <audio autoplay="" loop=""><source src="歌曲网络连接"></audio>
Hide a file in a picture
Steps
Prepare the picture test.jpg and test file test.txt
Use WinRAR to compress test.txt to test.rar
Open "cmd", then cd to the directory where you store the picture and the test.rar(put them in the same directory)
Type command : copy /b test.jpg + test.rar test.jpg, hit "Enter" key
Ok, open the test.jpg, you will still be able to view the picture
Where is the txt file? Open WinRAR, click "File"->"Open", select "All files", find test.jpg and open, you will find the test.txt file there.
This method is suitable for hiding all kinds of files. It's easy and secure. The picture file will still remain the same size and you can still view the picture without problems.
浙公网安备 33010602011771号