NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 38 39 40 41 42 … 56 Next »
Two scripts - searchforfiles.vbs and workonfiles.vbs

 
  • 0 Vote(s) - 0 Average
Two scripts - searchforfiles.vbs and workonfiles.vbs
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#1
2006-01-29, 06:11 PM
Reason for being:

run newer version of comskip on your old recordings
run post processing on your old recordings before you discovered transcoding
find out where your big files are
delete old recordings

------------------------------------
Searchforfiles.vbs

'This script will walk through a directory and all it's subdirectories and output a list of files
' that fit the specified parameters
' e.g. age, size, extension, string mask
' please see below for how things are changed
'
'There will be three output files
' debuglog = log file of what's been done
' marked log = a list of files that were marked along with their details
' results text = the list of files but without details
'
'Version History:
'
'Version 0.0.1 Jan 29, 2006
' initial public release
jam_zhou
Offline

Senior Member

Posts: 632
Threads: 179
Joined: Sep 2005
#2
2006-01-29, 06:15 PM
WorkOnFiles.vbs


Will take a list of files in a text file and pass it into a batchfile for processing

Instructions:
download each file and take away the txt extension to make it a vbs file.
make a list of files or use SearchForFiles.vbs

Use the supplied batch file to test.

---------------------------------

'Version: 0.0.1 Jan. 29, 2006
' initial public release
' will only call a batch file for processing
'
'
'Things to do:
' make more built in functions
' e.g. rename a set of files to PSP compliant names




'This script will call a queuefile specified below (designed to work by default with searchForfiles.vbs)
'
' The queue file must have the file name in double quotes with complete path name
' e.g. "d:\test\test2\file name.ext"
' There is an artificial limit of 1000 files
' Then for each file the following three parameters will be passed into a batchfile specefied below
' File Name with full path, just he file name with no extension, today's time
' The batch file can contain anything you wish and the script will wait for it to complete
' Example is:
' echo %1 %2 %3 >> processfileoutput.txt
' This will output the three parameters into a file called processfileoutput.txt
'
'
'Possible uses:
' Re-run comskip on a list of files due to a newer better version
' post process a list of files at a later time
' rename a list of files to - e.g. rename each file to have PSP compliant names
' move a list of files
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode