adrianator
Apr 19 2008, 09:12 PM
In windows you need to be able to see the file's extension so you can rename a .txt file to .bat This batch code I wrote searches your C:\ drive for video files and drops the results into a file. That file is then processed into links on a web-page. The web-page is then opened for you to view. Click the links to view the file, right click -> save as to save to another place on your computer. I use it a lot after browsing videos on the web. It's fun to see what videos end up cached (left on the computer from browsing) Insert this into a file named vid-search.txt Then save, rename the file vid-search.bat Then open the vid-search.bat file like you would any file. It will work its magic. Xeek is just one of my many online aliases  CODE @echo off cls echo. echo. echo **************************** echo **** **** echo *** Video Finder by Xeek *** echo **** **** echo **************************** echo. echo. echo Searching for flv files dir /o-s/b/s/l c:\*.flv >>.\vidz.txt echo. echo Searching for avi files dir /o-s/b/s/l c:\*.avi >>.\vidz.txt echo. echo Searching for mpg files dir /o-s/b/s/l c:\*.mpg >>.\vidz.txt echo. echo Searching for mpeg files dir /o-s/b/s/l c:\*.mpeg >>.\vidz.txt echo. echo Searching for mov files dir /o-s/b/s/l c:\*.mov >>.\vidz.txt echo. echo Searching for asf files dir /o-s/b/s/l c:\*.asf >>.\vidz.txt echo. echo Searching for wmv files dir /o-s/b/s/l c:\*.wmv >>.\vidz.txt echo. echo Searching for divx files dir /o-s/b/s/l c:\*.divx >>.\vidz.txt echo. echo Searching for ram files dir /o-s/b/s/l c:\*.ram >>.\vidz.txt cls echo Processing... echo ^<h1 align="center"^>Vid Finder by Xeek^</h1^>^<hr^>^<font face="Courier New" size=1^> >.\vidz.html for /F "tokens=*" %%v in (.\vidz.txt) do @echo ^<a href="%%v"^>%%v^</a^>^<br^> >>.\vidz.html start .\vidz.html MAX del .\vidz.txt Maybe someone can help script a better way to present the results?
Reply
Similar Topics
Keywords : search, video, files, display, batch, file, windows
- Timer Command In Dos
batch file help (4)
Some Programmers Definition
for Windows (1) Processor Mode - the various ways in which the processor creates an operating environment for
itself. (See my other article for details under Hardware section) Dynamic Link Library - an
executable file that acts as a shared library of functions. (for this too I have an article
published in the forums) Graphics Device Interface - provides functions and related structures
that an application can use to generate graphical output for displays, printers, and other devices.
Windows provides GDI for all graphics output by applications and then maps it to intended device....
Open Any Unknown File Type With Notepad
Make Notepad as default file opener (0) Open Any Unknown File with Notepad
************************************************************************ DISCLAIMER: The
following contains registry edits. If done improperly can cause strange behaviour, and at worst,
could even entirely corrupt your Windows Installation, requiring you to reinstall Windows. I cannot
be held for any damage you may cause to your system as a result of taking any action suggested in
the following article. ************************************************************************
Target OS: Windows XP Introduction....
Streaming Video Capture On Linux
this script will download all the stream video using linux mplayer (2) i was looking for video capter on linux and i coldent find one so i rote one of my one if you use
linux then you can try this script and if you need any hep just ask CODE #!/bin/bash
# # mplayer auto dump stream script #this script will download all the stream files in the
./zam_list files #this script by (mohammed tawfeek) zamaliphe@gmail.com #i have do this to
be able to watch the video on Linux #if you think it is illegally or some thing just don't tel
me that ha #© #bash 6/6/2006 download_folder="./video/" #grep -e HREF ./as....
Site Loader
Like you see on video games (2) This is a cool little idea I ve bee thinking about lately. I am curious as to how I would make a
webpage loader in an .exe form. Ex: many RPG games have a launcher program, that shows you the
current updates and news, and checks for new updates. This thing usually shows a webpage to show the
news and updates right? I was wondering how I would create one of those (What language?), or if I
could possibly get a pre-made one where I can just change the code or the page it loads in its
program frame. I really hope this makes sense. If not, I can try and make more sense of ....
Mp3 Player Sync Batch Job
(1) well at the moment ive got DEL "k:\music\*.mp3" CD c:\music copy *.mp3
"K:\Music" EXIT C:\ is my computer ( /tongue.gif" style="vertical-align:middle"
emoid=":P" border="0" alt="tongue.gif" />) and K:\ is my mp3 player. the reason im deleting
everything first is because if i dont like a song i'll delete it on my computer and i want my
mp3 not to have it either. im too lazy to go through my mp3 player and find all the bad songs.
Anyway, this is taking too long so i would need something that would check every song on the mp3
player to s....
Help Needed About Windows Api And Shell To Build A Shell
Need help to make a shell for microsoft windows (1) Hi I want to buils a new shell for windows with new features and look and security with a new login
mechanism and logging option incase of network environment(office),like aston shell ,talisam
desktop,but i dont have proper details aof win32 api and registry changer i need to make to make the
shell working,please can any one help if someone intrested in working in this project please do tell
me thanks ....
Programming Batch Job
(6) I want to know how to make a batch file that will run a program at a certain time of day, like a
scheduled thing, but i want it in a batch.. lol.. Easy enough? If you give me permission i can edit
it to the program i want Lol.. just put it in code tags! Thanks! Topic title must be
specific. Modified. ....
Batch .bat Files
not sure which subforum this would go in (4) sorry, im not really sure where this would go, as im just starting to hear alot about them and dont
know what language theyre in. i had just a few questions tho, What language are .bat files written
in? Is there a way to run them without the black box popping up? what are some of the things that
you can do with them? i know about ftp stuff, but i havent done much else :S ....
Autoplay.inf And .bat File Question
can you check my code and information? (2) Okay, so here's the situation. For one of my school projects I have decided to do a simple
cartoon animation. Because of the colour loss that you get when saving in .gif format, I have
decided to save it as a .wmv file. However our school does not have a media player installed so I
have decided to hand the project file (.mswmm) in instead and provide instructions on how to play
the movie from there. Therefore when the cd is inserted I need two files to open (movie.mswmm AND
instructions.txt). I have googled about autoplay and I have found out that you can only get ....
Windows Icons In A Webpage
Why don't hey show? (6) Hi, I'm making a website (I'm in de layout design process) and I want to use ico icons in my
page. I donwloaded some "xp-icons" and all worked fine. But because windows' own icons have a
better quality I used ResourceHacker to take windowsicons from Shell32.dll (in system32 dir). In
thumbnailview they are shown and Windows Picture Viewer shows them also, but when I used them in my
webpage, they weren't shown. They also don't work as favicons. It is probably the format of
the icon but is there some way (batch, tool,...) to convert the icons to a web-u....
Simple Win
windows 101 (2) Simple windows programming I have a question, i am trying to recreate a program, service pack 2, but
is it true that 2 boxes then qqpes means the next part until ee is encrypted? HELP!....
Installing Apache,mysql And Php In Windows
Good text for beginners (4) Here it is the text i have found in CODE http://www.jevontech.com/ , and i'm posting
this text because i remember the dificults i had when i wanted to do this right... Installing
Apache , MySQL and PHP under Windows Introduction While many webservers run Linux, Unix or BSD most
personals computers run on Windows. So it would be quite comfortable if web designers and
developers could develop on their home computer.So in this E-book we will focus on configuring your
computer to use Apache, MySQL and PHP, so you can work on your home computer. Step 1: Ins....
Looking for search, video, files, display, batch, file, windows
|
|
Searching Video's for search, video, files, display, batch, file, windows
|
advertisement
|
|