Results 1 to 2 of 2

Thread: Need some emergency bat file help

  1. #1
    Join Date
    Feb 2008
    Location
    SE England
    Posts
    574

    Need some emergency bat file help

    I was hoping to get newa transcoding working before going away so I could watch the formula 1 in france but I don't think I will be able to do it. As a backup I am trying to copy recordings into a folder for automated processing while im away.

    I urgently need a simple postprocessing bat file that will copy all recordings while i'm away into a separate folder where they will be recoded for download.

    I'm close but running out of time, so has anyone got any good examples of simple postprocessing files. I don't really understand how to call the file i want to copy-don't understand the syntax needed.
    Elmo Putney

  2. #2
    Join Date
    Sep 2008
    Location
    California
    Posts
    5,691
    the full file name (i.e. F:\Recordings\ShowName\ShowName_20130312_20002100. ts) passed from NRecord that you want to copy is just %1:
    Code:
    copy "%1" d:\recoding
    if you want another file to go with it, like a comskip .edl file then:
    Code:
    copy "%~dpn1.edl" d:\recoding
    %~dpn1 just means "use the drive letter, path and name of the file passed as %1, but not the extension", which then allows you to provide a different extension.

    I'm assuming from the way you worded your request that you already have something running that will see the file copied over and automatically transcode it? or do you mean you need the postprocessing.bat to do that too?
    NPVR Tech Support Sticky - - http://forums.gbpvr.com/showthread.p...612#post473612
    ---------------------------
    my config: NPVR 3.2.9/Win7Pro/Athlon II X3-440/radeon hd4550/hvr-2250/hvr-850/KWorld 315U/TimeWarner QAM & Analog, OTA ATSC/schedules direct

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •