Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 24th, 2011  |  syntax: None  |  size: 0.88 KB  |  views: 178  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. :: this should be the same as "Source - Directory to Watch" from Watchfolder.exe (local or network path)
  2. SET WATCHDIR=\\server\videos\touchpad\incoming
  3. :: change this to whatever you want to append to the output file or leave blank to keep filename the same
  4. SET SUFFIX=.TouchPad
  5. :: create a variable with the new filename
  6. SET NEWNAME=%~n1%SUFFIX%%~x1
  7. :: copy file to watched directory using new filename as destination change this command to "move" if you would rather move the file.
  8. copy %1 "%WATCHDIR%\%NEWNAME%"
  9. :: uncomment the line below if you want the window to stay up after copying until you press a key
  10. :: PAUSE
  11. ::
  12. :: TO ADD THIS TO YOUR CONTEXT (right click) MENU UNDER "SEND TO"
  13. :: GO TO %APPDATA%\MICROSOFT\WINDOWS\SENDTO
  14. :: CREATE A SHORTCUT TO THIS FILE
  15. :: NAME IT SOMETHING LIKE "CONVERT FOR TOUCHPAD"
  16. :: NOW RIGHT CLICK ANY FILE > SEND TO > CONVERT FOR TOUCHPAD
  17. ::