Batch file format
Hi,
I'm using Final Cut Server to store all videos from the my department. I now want to integrate with a website and iTunes U. Basically, I want to have a website where people could choose a video and select which formats and where they want their video published. This page would then generate a Batch file and submit it to compressor via command line.
Does anyone knows of any document where I can find that describes the Compressor's Batch file format?
Thanks,
Sean Hughes.
Much appreciated for prompt response. Thank you very much.
I declared 2 global variables, one for 'Root directory' and another one for 'File name(s)'.
I've linked the script with WorkFlow.
In the script, I've inserted below code.
$Root_Name ='C:\TEMP';
$File_Name = 'DELTA_FULL*.txt';
And then created a New file format.
In File Format Editor, Given location as 'Local', Root directory = $Root_Name, File name(s) = $File_Name'
Then i set other settings but i couldn't see the table structure and values.
Could you please guide me.
Thanks
Similar Messages
-
Is there a way to restore photos from Drop box to my desktop iPhoto in a large batch instead of one at a time? I tried and a zip file was downloaded but won't open. Says file format not recognized. I see how to do it one at a time with the "download" button in Dropbox but that's so cumbersome for lots of photos.
Have you tried these avenues?
Contact us - Dropbox
Dropbox Help Center
Dropbox Forums
Submit a help request - Dropbox
OT -
OS X Yosemite 10.10.2, Macbook Air,
Finder batch file rename function. I have multiple files I want to rename, that have a date in their name in the mm/dd/yy format. The slashes seem to freak out the batch rename function and it won't work. I took out the slashes and worked fine. Any workarounds that would help me avoid manually changing each name? I should point out that I want to leave most of the name intact just change the first word in each name. Also the files I'm working with are in PDF format.That's a comment in the file. It has no effect at all.
-
Batch file - how to Date & Time Format as January 6, 2014 - 8:54 PM Eastern
Batch file - how to Date & Time Format as January 6, 2014 - 8:54 PM Eastern
Hi Dhiravia,
If you want to convert the month format, please refer to the batch script below:
SET Month=%DATE:~4,2%
if %Month%==01 set Month=JAN
if %Month%==02 set Month=FEB
if %Month%==03 set Month=MAR
if %Month%==04 set Month=APR
if %Month%==05 set Month=MAY
if %Month%==06 set Month=JUN
if %Month%==07 set Month=JUL
if %Month%==08 set Month=AUG
if %Month%==09 set Month=SEP
if %Month%==10 set Month=OCT
if %Month%==11 set Month=NOV
if %Month%==12 set Month=DEC
echo %Month%
To convert the date format via cmd, please also check this article:
http://myblog4fun.com/archive/2012/01/06/getting-the-current-date-and-time-from-bat-files.aspx
If there is anything else regarding this issue, please feel free to post back.
Best Regards,
Anna Wang
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected] -
Oracle Retail standard file format for batches - specification needed
Is there any accurate specification of Oracle Retail standard file format for batches, such as EdiUpcat.pc (possibly with examples)?
I am trying to produce a file with supplier cost changes for Cost Change Batch (ediupcat.pc).
In "Operations Guide - Batch Overviews and Designs - Volume 1" I found some brief description, though it is not clear to me
1) what should I do with empty values (obviously, pad with appropriate number of spaces?)
2) What if some string value has less characters than specified? Should I left-pad or right-pad?
3) What does Number(12,4) means? How many characters exactly? 17? Why then values in some fields are multiplied by 10000 (so that to obtain integer value) while in others they go in Number(12,4) notation?Hi Roman,
I am glad to be of help.
Try to see it like this:
A number 20 is of char-length 20 in a flatfile, and the value is what it is 1:1.
A number 12,4 is of char-length 12 in a flatfile, but needs to be divided by 10^4 (10000) to get its real value.
Indeed there is a funny asymmetry in the documentation how the decimals are handled - but we needed to read carefully already anyhow... :)
I always like to construct a file by hand in an editor (vi, whatever) and then run it through the program, and check the errors in the error file.
Good luck and best regards,
Erik
Edited by: ErikYkema on Oct 13, 2011 3:01 PM -
Interactive format IN BATCH FILE CALLING SQL QUERY
Hi,
Below code i have written to get some data from file test.txt and O/P the data from database. For this i m running MS-DOS batch file which is calling test.sql and which in turn calls the file test.sql and get desired result from database. The below script works perfectly
What i want is the more interactive format and not hard coded format esp location and name of the TEXT FILE . How i can make changes that whenever BATCH FILE is run, it ask for file name and location and then passes those information to SQL FILE which in turn fetches the results from database
BATCH FILE : test.bat
sqlplus sys/xxxxx as sysdba @test.sqlSQL FILE: test.sql
SET SERVEROUTPUT ON
DECLARE
lc_file_handle UTL_FILE.file_type;
lc_file_dir VARCHAR2 (100);
lc_file_name VARCHAR2 (50);
data VARCHAR2 (500);
v1 ECCSYS.hwcontainer.hwcontainerserialnumber%type;
v2 ECCSYS.storagedevice.devicename%type;
s2 ECCSYS.storagedevice.isreserved%type;
BEGIN
lc_file_dir := 'DATA_PUMP_DIR';
lc_file_name := 'test.txt';
lc_file_handle := UTL_FILE.fopen (lc_file_dir, lc_file_name, 'R');
LOOP
BEGIN
UTL_FILE.get_line (lc_file_handle, data);
v1 := SUBSTR (data,1,INSTR (data, ',', 1) - 1);
v2 := substr(data, INSTR (data, ',', 1, 1) + 1, length(data) - INSTR (data,',', 1, 1));
select isreserved into s2 from ECCSYS.storagedevice where devicename=v2 and storagearrayid = (select hwcontainerid from ECCSYS.hwcontainer where hwcontainerserialnumber =v1);
DBMS_OUTPUT.PUT_LINE(v1 ||' '|| v2 ||' '|| s2);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
EXIT;
END;
END LOOP;
EXCEPTION
WHEN OTHERS
THEN
UTL_FILE.fclose (lc_file_handle);
END;
EXIT;TEXT FILE : test.txt
000190300153,170
000190300153,171Hi,
I have made some changes in the batch and sql file but problem is , still test.sql is seeking name of the file even though its passed from batch file to sql file.
BATCH FILE : test.bat
@echo off
set /P id=Enter THE FILE NAME: %=%
echo %id%
sqlplus sys/xxxx as sysdba @test.sql %idSQL FILE : test.sql
SET SERVEROUTPUT ON
DECLARE
lc_file_handle UTL_FILE.file_type;
lc_file_dir VARCHAR2 (100);
lc_file_name VARCHAR2 (50);
data VARCHAR2 (500);
v1 ECCSYS.hwcontainer.hwcontainerserialnumber%type;
v2 ECCSYS.storagedevice.devicename%type;
s2 ECCSYS.storagedevice.isreserved%type;
BEGIN
lc_file_dir := 'DATA_PUMP_DIR';
lc_file_name := '&id';
lc_file_handle := UTL_FILE.fopen (lc_file_dir, lc_file_name, 'R');
LOOP
BEGIN
UTL_FILE.get_line (lc_file_handle, data);
v1 := SUBSTR (data,1,INSTR (data, ',', 1) - 1);
v2 := substr(data, INSTR (data, ',', 1, 1) + 1, length(data) - INSTR (data,',', 1, 1));
select isreserved into s2 from ECCSYS.storagedevice where devicename=v2 and storagearrayid = (select hwcontainerid from ECCSYS.hwcontainer where hwcontainerserialnumber =v1);
DBMS_OUTPUT.PUT_LINE(v1 ||' '|| v2 ||' '|| s2);
EXCEPTION
WHEN NO_DATA_FOUND
THEN
EXIT;
END;
END LOOP;
EXCEPTION
WHEN OTHERS
THEN
UTL_FILE.fclose (lc_file_handle);
END;
EXIT; -
Batch Changing iPhoto File Formats
I have scanned a few thousand photos and imported them to my iPhoto library. 90% of them are saved in Photoshop format. Most of these photos have comments, locations, and face IDs, The date has been changed to the date the photo was taken.
How can I change the file format from Photoshop to JPEG and retain the data that currently exists?What settings exactly are you using in the Export window?
There is no way to write Faces Information to a file. Simply there is no standard for sharing this information yet. The workaround is to use keywords. This is true of all Faces type technology on all systems.
If your goal is "improved response time and more stable iPhoto Library" then the changing the file format is not what you need to do. I would be looking to other things.
Can you describe the symptoms you are having?
Regards
TD -
Executing batch file from Java stored procedure hang
Dears,
I'm using the following code to execute batch file from Java Stored procedure, which is working fine from Java IDE JDeveloper 10.1.3.4.
public static String runFile(String drive)
String result = "";
String content = "echo off\n" + "vol " + drive + ": | find /i \"Serial Number is\"";
try {
File directory = new File(drive + ":");
File file = File.createTempFile("bb1", ".bat", directory);
file.deleteOnExit();
FileWriter fw = new java.io.FileWriter(file);
fw.write(content);
fw.close();
// The next line is the command causing the problem
Process p = Runtime.getRuntime().exec("cmd.exe /c " + file.getPath());
BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream()));
String line;
while ((line = input.readLine()) != null)
result += line;
input.close();
file.delete();
result = result.substring( result.lastIndexOf( ' ' )).trim();
} catch (Exception e) {
e.printStackTrace();
result = e.getClass().getName() + " : " + e.getMessage();
return result;
The above code is used in getting the volume of a drive on windows, something like "80EC-C230"
I gave the SYSTEM schema the required privilege to execute the code.
EXEC DBMS_JAVA.grant_permission('SYSTEM', 'java.io.FilePermission', '<<ALL FILES>>', 'read ,write, execute, delete');
EXEC DBMS_JAVA.grant_permission('SYSTEM', 'SYS:java.lang.RuntimePermission', 'writeFileDescriptor', '');
EXEC DBMS_JAVA.grant_permission('SYSTEM', 'SYS:java.lang.RuntimePermission', 'readFileDescriptor', '');
GRANT JAVAUSERPRIV TO SYSTEM;
I have used the following to load the class in Oracle 9ir2 DB:
loadjava -u [system/******@orcl|mailto:system/******@orcl] -v -resolve C:\Server\src\net\dev\Util.java
CREATE FUNCTION A1(drive IN VARCHAR2) RETURN VARCHAR2 AS LANGUAGE JAVA NAME 'net.dev.Util.a1(java.lang.String) return java.lang.String';
variable serial1 varchar2(1000);
call A1( 'C' ) into :serial1;
The problem that it hangs when I execute the call to the function (I have indicated the line causing the problem in a comment in the code).
I have seen similar problems on other forums, but no solution posted
[http://oracle.ittoolbox.com/groups/technical-functional/oracle-jdeveloper-l/run-an-exe-file-using-oracle-database-trigger-1567662]
I have posted this in JDeveloper forum ([t-853821]) but suggested to post for forum in DB.
Can anyne help?Dear Peter,
You are totally right, I got this as mistake copy paste. I'm just having a Java utility for running external files outside Oracle DB, this is the method runFile()
I'm passing it the content of script and names of file to be created on the fly and executed then deleted, sorry for the mistake in creating caller function.
The main point, how I claim that the line in code where creating external process is the problem. I have tried the code with commenting this line and it was working ok, I made this to make sure of the permission required that I need to give to the schema passing security permission problems.
The function script is running perfect if I'm executing vbs script outside Oracle using something like "cscript //NoLogo aaa1.vbs", but when I use the command line the call just never returns to me "cmd.exe /c bb1.bat".
where content of bb1.bat as follows:
echo off
vol C: | find /i "Serial Number is"
The above batch file just get the serial number of hard drive assigned when windows formatted HD.
Same code runs outside Oracle just fine, but inside Oracle doesn't return if I exectued the following:
variable serial1 varchar2(1000);
call A1( 'C' ) into :serial1;
Never returns
Thanks for tracing teh issue to that details ;) hope you coul help. -
File Receiver Adapter Batch File Not Invoking:
Dear All,
I am trying to invoke a Batch file in the Receiver File Adapter after Message processing.
The Batch file is not at all getting invoked at all. i dunno whats the reason. Please help.
Below is the Format in which i gave the batch file:
F://Test//prakash//Endseperator.bat %F
then i tried:
F:\Test\prakash\Endseperator.bat %F
then i tried
F:
Test
prakash
Endseperator.bat %F each folder seperated by '
' whixh cannot be seen here.
below is the batch file content of Endseperator.bat :
F:
cd "Test\prakash"
java Endseperator "%F" "%F"
Its working perfect when i manual execute the batch file. But i am not able to invoke via Receiver file Adapter.
Please Advice.
Regards,
Senthilprakash.
Edited by: senthilprakash selvaraj on Dec 18, 2008 11:47 AM
Edited by: senthilprakash selvaraj on Dec 18, 2008 11:48 AM
Edited by: senthilprakash selvaraj on Dec 18, 2008 11:49 AMHi Senthilprakash,
I guess you must know that the batch file must exist on the XI server, not on your local machine.
if yes, try with one / like:
F:/Test/prakash/Endseperator.bat %F
Make sure the user <sid>adm (in case of Unix) or SAPService<SID> (in case of windows) has the execution right of your program.
Jayson -
How to run a batch file as windows Nt service
Hi friends
I want to know how to run a batch file as windows NT service.
I got some information in the following link
http://support.microsoft.com/kb/q243486/
I tried it but i want to know what we need to include in Autoexnt.bat
And one thing i need Instexnt.exe file. I cannot find tht file.
Please search tht file and send me tht file or else send the link in which this file is present
Please give me reply fast.its very urgent.
Thanks in advance.Hi,
My aim is to run a MS-DOS Batch file, that I created to run a Java Prgram.
I need to call the Batch File from the Oracle Procedure, Also I may need to change the content of the Batch File (Argument to the Java JAR File ).
I can keep the JAR FIle either in the Oracle Server or in the Application Server.
The Java program is to convert XML Format FIle to PDF and MS Word format.
Oracle Version : 10g 2.0.1.0.
Thanks in advance
Rizly -
Hi,
How to run a batch file from Oracle. Is it possible directly from PLSQl, or should I write the java code.
Oracle Version: 10g 2.0.1.0.
Thanks in advance
RizlyHi,
My aim is to run a MS-DOS Batch file, that I created to run a Java Prgram.
I need to call the Batch File from the Oracle Procedure, Also I may need to change the content of the Batch File (Argument to the Java JAR File ).
I can keep the JAR FIle either in the Oracle Server or in the Application Server.
The Java program is to convert XML Format FIle to PDF and MS Word format.
Oracle Version : 10g 2.0.1.0.
Thanks in advance
Rizly -
File format invalid when opening a word document
Hi there,
I have been sent a batch of Word and PDF documents, which when I try and open on my Macbook they all come up with the message 'The file format is invalid'.
I have previously been sent word and PDF files, and had no problem opening them. I have used the Help resource, and followed the instructions about dragging the file to the Pages icon etc, but the same error message comes up.
What could be wrong? I think that the version of Word is 2007.
LucyAs far as I know, Pages was never able to open PDF files.
By default, this task is dedicated to Preview.
M…oSoft created so many file formats that I'm not really surprised by what yo describe with Word documents.
Would be a good idea to download and install the free LibreOffice from :
http://www.libreoffice.org/
Yvan KOENIG (VALLAURIS, France) lundi 20 février 2012
iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
My Box account is : http://www.box.com/s/00qnssoyeq2xvc22ra4k -
Hi
I've been digitizing my LP collection using the AIFF file format. Most songs are in the 30-40MB range and my 320 GB HD is filling up fast.
My plan is to get Apple TV, play them over my home theater speakers and get rid of the LPs when I'm done. I want good quality, but do the files need to be this big? Should I convert them to some other format? If so, how can I do this in batch?I digitized a number of my LPs, many of which were by obscure groups and never re-released on CD. I even went to the extent of using software to individually isolate cracks and pops and interpolate, so I spent a lot of time doing that. Although AAC is high-quality it is still lossy and you won't be able to regain the original without going to all the work again. With all the effort I put in I chose to use FLAC compression to archive the original on archival grade DVDs and hard drives, then used a lossy compression (I used MP3 for wider compatibility but AAC is better quality) to have a copy for everyday listening. FLAC will compress to about 60% off the size of the original AIFF and can be expanded again to an identical original. Apple Lossless does something similar but I chose FLAC because ALE is proprietary and you have to use iTunes whereas FLAC is open source and available for any platform and in multiple programs.
FLAC is not part of iTunes and iTunes does not play FLAC (a big omission in my opinion). I use X ACT 1.6 Audio Compression to do conversions. -
How we can create the batch file to download the data in from URL in ssis
hi,
any one help on one the below requirement.
i have to create one batch file to download the report(reports is in csv format) from URL...
requirement should be like this...
1. we have some reports is there in the URL..
2.when ever we execute the url, the report should be download and save it to the local folder.
3. this requirement i have to write in the batch file
should any one let me know how we can create the batch file for the above requirement.Hi Priya.N,
If you use SQL Server Reporting Services for reporting, you can use Visakh’s suggestion to create a script file which calls Reporting Services Web Service to render a report in CSV format and save a batch file to the destination folder, and then create a
batch file to run the rs.exe utility which can executes the .rss script file. For more information, please see:
Report Server Web Service
ReportExecutionService.Render Method
rs Utility (rs.exe) (SSRS)
If you use other reporting tools, it depends on the reporting functionality and this requirement may be not achieved.
Regards,
Mike Yin
TechNet Community Support -
Hi,
We are in planning to implement Lockbox functionality for auto cash application in our European company codes. I have few questions:
1)What file formats can SAP read other than BAI2 format.We are using standard SAP program RFEBLB00 (Transaction FLB2) to read a BAI2 file for our US company codes and they work fine.
2)Ours is Bank of America and they are unable to provide BAI2 format? Has anybody faced this kind of situation where Bank can't provide BAI2 format for Europe transactions? What are the alternatives?
Thanks in Advance.
RakeshCurrently, only BAI and BAI2 file formats are supported by SAP. It includes
the following:
BAI Record Format: Specify the length of the document numbers (10 in
the standard SAP System) and the number of document numbers in record types 6
and 4 of the BAI file. Your bank must agree on this format information.
BAI2 Record Format: It is not necessary to specify the length of the
document or the number of document numbers in record types 6 and 4. This is
because BAI2 file is designed that each document number is on a different record
type 4 with its corresponding payment and deduction amounts. Your bank must
agree on this format information.
NOTE: while the BAI and BAI2 formats are supposedly standard, experience
has shown that they can vary by bank and many SAP clients have contracted for a
customized format. The format received will need to be mapped to reconcile with
the SAP delivered data dictionary layout (Tables FLB01, FLB05, FLB06, etc.) to
ensure proper processing. If the format does not reconcile and the user does
not want to have the bank change the format, SAP recommends that a user-written
ABAP be used to reformat the file or alternatively the SAP data dictionary can
be modified (this is a repair that will need to be re-applied in future
releases).
Batch Input Sessions [Posting Functions]: Specify which postings the
system creates (general ledger cash postings and/or customer cash
application). It is recommended that both choices are selected if you are using
the general ledger and accounts receivable modules. For the general ledger you
can decide whether to post one aggregate amount to the incoming cash account or
one line per check. This depends on your reconciliation with the bank. In
addition, you can choose to create and name a batch input session to insert any
missing or new customer bank details into the customer master records (this can
only be done if the system identifies a valid document number).
Important Note: The lockbox program first attempts to identify the customer
with unique bank information in the customer master record matching to MICR
information on the check, so maintenance of unique customer MICR information is
important to ensure success. If there is more that one customer with the same
MICR bank and account, then the program cannot apply the check to an
account. This situation usually means that either the same customer has been
set up twice, or maybe what should have been only Ship-to or Sold-to customers
for the same Payer have actually been set up as separate Payers. Alternatively,
it may be necessary to set up a relationship where one customer is identified as
the main Payer and has MICR info, and the related customers do not have MICR
info but instead have the main Payers customer number in the Alternate Payer
field of the customer master record.
The payment information provided in the bank data file will create a payment
advice per check. This payment advice will be used by the lockbox procedure to
clear subledger open items. For more information on payment advices, please
read accounts receivable/accounts payable Payment Advice Notes in the IMG or
On-Line Help
Maybe you are looking for
-
How do I set up stereo audio tracks as default in Premiere using the ProRes 422 codec?
Forgive me if this has been asked many times before. I have searched but can't find anything that explains it in language that doesn't require an advanced degree in computer engineering. I am a recent convert for our beloved FCP 7. I am learning to l
-
My Ipod Mini is not detected in Itunes, Nor in Winamp pluggin.
The title above says it all, i would need some light on how to fix this awful problem. I had my ipod since last March and everything went fine until just recently. I tried all the repair step from the apple site, format ipod...Remove itunes/Ipod upda
-
How do I create a jtable with horizontalScroll bar,plz help me!
I created a jtable component,Because my table's columns has 50 items,I must need a horizontalScroll Bar. but I find the horizontalScroll don't display,when I add record to the jtable,the verticalScroll Bar is showed.How do I create a jtable with hori
-
Slideshow showing up in preview but not online?
Hello everybody I''m running Dreamweaver CS3. I am working on a shop website for racing products that you can see at www.proheader.com/alpha.html As you can see on that page, there is a large white space under the orange bar titles Featured Products.
-
How to Map the parameters in GP interface?
Hello All , I have 2 callable objects in two different actions for same Block. How to map the first callable object output to input of second callable object ?? Please give the clear details. Thanks Risha