Advertisement
Guest User

Untitled

a guest
Sep 24th, 2011
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  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. ::
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement