[10G2 on XP PRO] Rename file script returns error

I mistakenly created a "Users03" datafile without the .dbf extension.
Now I would like to add it in order to use wildcards in scripts.
Here is the "Rename" script:
alter tablespace users rename datafile
Here are the output from the "dba_datafiles" view and error message for the rename:
SQL> @c:\jb\data\sources\oracle\dba\datafiles
8 ligne(s) sélectionnée(s).
SQL> @c:\jb\data\sources\oracle\dba\renamefile
alter tablespace users rename datafile
ERREUR à la ligne 1 :
ORA-01525: échec du changement de noms de fichier de données
ORA-01523: impossible de renommer le fichier de données en 'l:\oracle\product\10.2.0\oradata\oracomp
Maybe there is some limit to the input line length in SQL*Plus?
I can't find how to rename a datafile from the OEM console.
Looks like I'll have to create a "usersbis" tablespace and copy every object into it, then drop users tablespace.
Or I'll find an inocuous DBA command to test the correct syntax for referencing datafiles names under Windows.
Many thanks for your help :-)

I tried your commands after a cold backup.
Here is the SQL*PLUS output:
******************** QUOTE ********************************************
SQL> startup mount
Instance ORACLE lancée.
Total System Global Area 272629760 bytes
Fixed Size 1248504 bytes
Variable Size 100664072 bytes
Database Buffers 167772160 bytes
Redo Buffers 2945024 bytes
Base de données montée.
SQL> alter tablespace users rename datafile
2 'l:\oracle\product\10.2.0\oradata\users03'
3 to
4 'l:\oracle\product\10.2.0\oradata\users03.dbf';
alter tablespace users rename datafile
ERREUR à la ligne 1 :
ORA-01109: base de données non ouverte
SQL> alter database open;
alter database open
ERREUR à la ligne 1 :
ORA-01157: impossible d'identifier ou de verrouiller le fichier de données 7 - voir le fichier de tr
ORA-01110: fichier de données 7 : 'L:\ORACLE\PRODUCT\10.2.0\ORADATA\ORACOMPTA\USERS03'
SQL> alter tablespace users rename datafile
2 'l:\oracle\product\10.2.0\oradata\users03'
3 to
4 'l:\oracle\product\10.2.0\oradata\users03.dbf';
alter tablespace users rename datafile
ERREUR à la ligne 1 :
ORA-01109: base de données non ouverte
********************** END QUOTE ********************************************
I must have done something wrong.
I'll try renaming the file from DOS and open the database.
Many thanks for your reply.

Similar Messages

  • LR 3.2 Renaming files on import error

    Hi all, an  error on importing and renaming files seems to have cropped up. In the last week or so I have imported some files from a cf card, only to have LR 3.2 "say" that "LR has imported certain files but the following images cannot be renamed" and the preview is greyed out. Double clicking on the "greyed out" image doesnt help either. The images are in the catalogue and first deleting them via LR and then reimporting them seems to work.
    Any thoughts?
    Kind regards

    Thanks for responding. They show in - C:\Users\Roy Shopland\Pictures\2010\2010-08-30.  They actually appear under 2010 in the left hand column (at the beginiging of 2010  rather than under the date in 2010. Can you explain why this is and how can I correct it? Many thanks

  • Rename file script.

    I assume this is possible via scripting, but as I'm new to scripting I'm just dipping my toes in for this.
    I have a number of actions, all produce a variety of colour effects/tone. For a specific job I need to run each action one-by-one and output the result as a new PSD file using the Action's name as the filename for the PSD document.
    IE :
    run action 'Blues to shadows'
    FILE.PSD saved to folder as 'Blues to shadows.PSD'
    does anyone have any pointers how to get to this stage?

    I already wrote this a few years ago.
    http://ps-scripts.cvs.sourceforge.net/viewvc/*checkout*/ps-scripts/xtools/apps/ActionSetRu nner.js
    It should do what you want.

  • Replace Text script returns error when dropped in automator

    Hi Friends,
    I have a series of pdfs that were saved with spaces in their file names. I need to put them into folders for a website (there's a lot). Pretty newbie on this too but I figured I'd try.
    I tried using the example script "Replace Text in Item names" which worked on it's own.
    (hd:applications:applescript:example scripts:finder scripts)
    When I applied it as an action in Automator, I would get an error about "expected end but found on."
    I think that resulted from the default script. So I deleted that. Put the replace script in.
    I cut out the dialog boxes and specified folders, search, and replacement items. And cut out the second half (after the beep)
    However as I step through, when I get to the script it returns the error: No result was returned from some part of this expression.
    So I'm not sure what I'm missing.

    It is hard to tell without seeing the mangled modified script. Your main problem is probably related to the run handler, which needs to be defined in Automator's Run AppleScript action. Every AppleScript has a run handler, but in the case of the Replace Text in Item Names it is implied (not explicitly defined). You will need to place the main statements of the script inside the Run AppleScript action on run handler, leaving the other handlers (for example, setitemname) outside of the run handler.

  • Error 7: File not found occurs in 8.2 from transition of 4.1. Specifying the file in file dialog returns error although file is in the directory.

    Copied a program from 4.1 to 8.2 recently and receive an error 7: File not found at open file+.vi.  The program is built so a file dialog will pop up and ask for the destination of the file.  Eventhough there is a file in the specified directory, an error is returned.  Running open file+.vi by itself returns no error with the same file designation.  Any clues?

    Welcome to the NI Discussion Forums.
    I created a quick VI in LabVIEW 4.1 that displays a file dialog and then passes that file path to "Read Characters from File.vi" (which in turn calls Open File+.vi).  I then opened this file in LabVIEW 8.2 and ran it successfully (see code screenshot below).
    When you say there is a file in the specified directory are you using the file dialog to browse to the directory or to select the specific file?  Open File+.vi expects the path to a file rather than a directory - that is C:\folder\file.txt rather than C:\folder.  You might also want to create an indicator or probe to see what path is being passed to Open File+ to ensure it is what you expect.
    I feel like I should also say that in the days (years) inbetween LabVIEW 4.1 and 8.2 the file operation VIs have changed significantly.  While the old Open File+.vi still lives in vi.lib for compatibility purposes we no longer recommend using it for new applications.
    I hope this helps and again, welcome to the community.
    Simon H
    Applications Engineer
    National Instruments
    Message Edited by Simon H on 01-18-2007 08:01 PM
    Message Edited by Simon H on 01-18-2007 08:03 PM
    LV4 File Dialog.png ‏3 KB

  • Why Does My MATLAB Script Return Error 1048?

    I am running Matlab 6.5, and the matlab scrip is
    M_thred2=M > Thred;
    M is 2 dimensional array and Thred is a constant, so M_thred2 will have thresholded array from M.
    If I make M as output, it works fine, but M_thred2 doesn't.

    This error can occur if your variable name is the same as a function name in MATLAB. For instance, using the variable name disp and then trying to return this variable will generate this error. To fix this, choose variable names that are not reserved names used by MATLAB. See the MATLAB online help or user manual for a list of reserved function names.
    This error can also be generated if the Clear All function is used in your MATLAB script. To resolve the error, simply remove this function from your script. For more information on creating and using MATLAB scripts in LabVIEW, refer to LabVIEW's VI, Function, & How-To Help.
    Hope this helps,
    Ingénieur d'applications
    National Instruments France

  • Calling a Matlab script returns error code 1048

    I don't know how to proceed. My variable names are not Matlab function names.
    I'm using LabVIEW 6.1.
    I'm running the following Matlab version:
    » ver
    MATLAB Version (R13)
    MATLAB License Number: 156808
    Operating System: Microsoft Windows 2000 Version 5.0 (Build 2195: Service Pack 2)
    Java VM Version: Java 1.3.1_01 with Sun Microsystems Inc. Java HotSpot(TM) Client VM
    MATLAB Version 6.5 (R13)
    Simulink Version 5.0 (R13)
    Communications Blockset
    Version 2.5 (R13)
    Communications Toolbox Version 2.1 (R13)
    Control System Toolbox Version 5.2 (R13)
    DSP Blockset Version 5.0 (R13)
    Filter Design Toolbox Version 2.2 (R13)
    Fixed-Point Blockset Version 4.0 (R13)
    Image Processing Toolbox Version 3.2 (R13)
    MATLAB Compiler Version 3.0 (R13)
    Optimization Toolbox Version 2.2 (R13)
    SB2SL (converts SystemBuild to Simu... Version 2.5 (R13)
    Signal Processing Toolbox Version 6.0 (R13)
    SimPowerSystems Version 2.3 (R13)
    Spline Toolbox Version 3.1.1 (R13)
    Stateflow Version 5.0 (R13)
    System Identification Toolbox Version 5.0.2 (R13)
    Wavelet T
    oolbox Version 2.2 (R13)

    This error can occur if your variable name is the same as a function name in Matlab. For instance, using the variable name disp and then trying to return this variable will generate this error. To fix this, choose variable names that are not reserved names used by Matlab. See the Matlab online help or user manual for a list of reserved function names.
    Zvezdana S.
    National Instruments

  • Need a script to do the following... rename files based on folder name...

    Hi. Macophile just starting to tread the waters of Applescript, trying to use Automator but don't think it will do what I need.
    I have many images stored with-in folders that I would like to extrapolate a given number of characters from the folder name and Add Text to the files within those given folders.
    Folder name is C00100_Descriptive
    Files within folder are just Descriptive_01, Descriptive_02
    Would like to make all files within a given folder take the first 7 characters from the folder and Add that text to all files and files within subfolders of that folder to make the resulting files shown as...
    Along with this I would also like to incorporate into the script, an added step to create Thumbnail jpegs of the image files in a Subfolder under C00100_Descriptive folder.
    I can see how to do that in automator but not specifying parameters such as taking a certain number of characters from the folder the file resides in and adding that selected text to the files.
    Ideally I would like a droplet or something that I could take a bunch of folders and drop them on the droplet to perform these actions.
    Any advice, help or guidance would be really helpful! Thanks in advance.

    Awesome, you're quite welcome, glad to hear it worked for ya!! Here's another version of the script that will rename the thumb files as jpg...
    <pre style="width:630px;height:auto;overflow-x:auto;overflow-y:hidden;"
    title="Copy this code and paste it into your Script Editor application.">on run
    set theItems to choose folder with multiple selections allowed
    open (theItems)
    end run
    on open (itemList)
    repeat with anItem in itemList
    set theInfo to info for anItem
    if folder of theInfo and not package folder of theInfo then
    set theFolder to POSIX path of anItem
    set folderNameStart to do shell script "echo " & ¬
    quoted form of (name of theInfo) & "|awk -F'_' '{print $1}'"
    set fileList to list folder anItem without invisibles
    if fileList is not {} then
    set thumbFolder to theFolder & "_thumbs/"
    do shell script "mkdir " & quoted form of thumbFolder
    end try
    repeat with fileName in fileList
    set oldFile to theFolder & fileName
    set oldFileInfo to info for POSIX file oldFile
    if not folder of oldFileInfo then
    set newFileName to folderNameStart & "_" & fileName
    set newFile to theFolder & newFileName
    set theExt to name extension of oldFileInfo
    set thumbName to text 1 through -((length of theExt) + 1) of newFileName & "jpg"
    set thumbFile to thumbFolder & "thumb_" & thumbName
    do shell script "mv " & quoted form of oldFile & space & ¬
    quoted form of newFile
    do shell script "sips -s format jpeg -s dpiHeight 72 -s dpiWidth 72 -Z 128 " & ¬
    quoted form of newFile & " --out " & quoted form of thumbFile
    end try
    end if
    end repeat
    end if
    end if
    end repeat
    end open</pre>

  • PS Script To Rename File Using CSV - Filename Is Containing IP Address And Needs To Be Host Name

    Hello All,
    I am currently working with PDF reports which are named "TEMXX.XX.XXX.XX_141215.pdf", XX.XX.XXX.XX is an IP address. I have created a CSV which contains two columns, ColumnA = IPAddress ColumnB = HostName. I would like to remove the existing title
    of the file, and rename it as "ColumnB.pdf".
    The only two commands which come to mind are:
    get-childitem *.pdf | foreach { rename-item $_ $_.Name.Replace("TEM", "") }
    get-childitem *.pdf | foreach { rename-item $_ $_.Name.Replace("_141215", "") }
    The above commands are of course to remove the unwanted "TEM" and "_141215" but I cannot seem to figure out how to just rename files as ColumnB.pdf.
    Any help would be greatly appreciated :).

    Hello All,
    I performed the following but it did not execute, just returned the prompt. The final ps1 file was saved and ran as follows:
    $lines = Import-Csvservers.csv
    ForEach($line in $lines){
    get-childitem *.pdf |where {$_.name -eq $line.ColumnA}|Rename-Item -NewName $line.ColumnB
    CSV file named servers.csv displayed as follows:
    Files in Explorer displayed as follows:
    As indicated above the filename should be finalized as:
    Any help in figuring this out would be greatly appreciated.

  • How to open renamed files?

    I rename selected files and after that want to open them.
    For my purpose renaming works well like this:
    tell application "Finder"
    set FilesToRENAME to selection
    display dialog "Change what?" default answer ""
    set ChangeFROM to text returned of the result
    display dialog "Change to?" default answer ""
    set ChangeTO to text returned of the result
    set AppleScript's text item delimiters to {ChangeFROM}
    set theCount to count of FilesToRENAME
    repeat with x from 1 to theCount
    set theName to name of item x of FilesToRENAME
    set FirstNamePart to first text item of theName
    set LastNamePart to second text item of theName
    set newName to FirstNamePart & ChangeTO & LastNamePart
    set name of item x of FilesToRENAME to newName
    on error errStr number theNumber
    display dialog "Error in changing the Name " & theNumber & return & errStr ¬
    & return & "Step " & x
    end try
    end repeat
    set AppleScript's text item delimiters to ""
    end tell
    Now newly renamed files don't belong anymore to FilesToRENAME. So how to point to those files now (how to make a new list from those renamed files)? I was thinking to get a path to each file inside the repeat loop and replace the name, but couldn't do it.
    Thank you for any help.

    Pierre's method is pretty clever, but if you don't happen to be using a Finder selection (choose file for example), you can also use the interesting fact that an alias keeps track of an item even if it is moved or renamed.
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #DAFFB6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    -- tell application "Finder" to set filesToRename to selection as alias list
    set filesToRename to (choose file with multiple selections allowed)
    set changeFrom to text returned of (display dialog "Change what?" default answer "")
    set changeTo to text returned of (display dialog "Change to?" default answer "")
    set renamedFiles to {} -- this will be the renamed files
    repeat with aFile in filesToRename
    set aFile to the contents of aFile
    tell application "Finder" to set theName to name of aFile
    set tempTID to AppleScript's text item delimiters
    set AppleScript's text item delimiters to {changeFrom}
    set firstNamePart to first text item of theName
    set lastNamePart to second text item of theName
    set AppleScript's text item delimiters to tempTID
    set newName to firstNamePart & changeTo & lastNamePart
    tell application "Finder"
    set name of aFile to newName -- aFile points to the original file
    update aFile -- give Finder a chance to catch up
    set the end of renamedFiles to aFile -- aFile now points to the renamed file
    end tell
    on error errStr number theNumber
    activate me
    display alert "Error " & theNumber & " in changing the Name" message errStr
    end try
    end repeat
    renamedFiles --> aliases to the renamed files

  • Rename File

    Is it possible to rename a file while it is open in Photoshop? I use an action when closing/saving that saves the file in 3 different sizes/formats and it would be great if I could name the file just prior to saving.

    Your goung about it the hard way. Do this instead. Create a simple action or actions that process the image the way or ways you want them processed. The actions should not resize or save image they should just process the image the way you want them processed. Once you have these actions. Download and install the Image Processor Pro plug-in script into your Photoshop version CS5, CS6, CC. from Russell Browns web site.  Then use menu File>Automate>Image Processor Pro.  Set the Image Processor Pro dialog to process your image files and save all the output files you want with the sizes and names you want.  Have the Image process include you action or actions in its process.

  • Renaming files in a book

    Hi everyone,
    I need to rename files in a book, but from within the book. A Save as... won't update the cross refrences.
    I see an fcode for this (FCodes.KBD_BOOKRENAMEFILE), but I've been advised not to rely on these types of shortcuts.
    I don't see anything else documented in the Scripting Guide. Does anyone else have any other suggestions?
    Thanks so much!
    Heather A

    Just following up for anybody else who might need this in the future.
    My hangup was that pulling files from the book itself created Doc objects, not File objects (beginners mistake, you hate to see it). Anyway, here are some of the functions that I came up with to handle this task for anybody who needs it. Please be warned, this is quite literally my first ExtendScript project so this may not be the most efficient way to have done this (I'm always open to constructive criticism from those more experienced than myself). I know I went overkill with notes in the code, that was requested by colleagues who know less about code than I do so that if I were no longer employed for some reason another person could come in and understand exactly what the code was doing.
    function fileNameReplacer(FullArray, CodeBook, BookFile) {
        /*The fileNameReplacer steps through all of the files in the book looking for those who need to be renamed.
            The function first renames all of the files, and then cycles through each file's Crossreferences and updates the
            names to reflect name changes*/
        /*Local variables are created*/
        var FileName,
        FileArray = FullArray;
        /*Loops through all of the files in the book*/
        for (var i = 0, len = FileArray.length; i < len; i++) {
            /*Tests if the file is type 255 which would signify it is a folder or a group (These will not be renamed and would throw errors)*/
            if (FileArray[i][0].type == 255) {
                /*If the file is identified as a group or folder, it is removed from the Array with the "splice" command*/
                FileArray.splice(i, 1);
                /*The counters for this loop are then adjusted to reflect the new length of the "FileArray" variable*/
                i = i - 1;
                len = len - 1;
                /*Starts the next round of the loop (which is actually repeating the same loop but without the group or folder in the Array)*/
            /*If the file being looked at is not a folder or group, it is assigned to the "ThisFile" variable*/
            ThisFile = FileArray[i][0];
            /*Checks the file to see if it's element catalog has values. If there are no values, it would mean that there is no data from which
                to develop the encoded name, and likely means the file is something like a cover page or table of contents which do not need encoding*/
            if (ThisFile.ElementCatalog.length !== 0) {
                /*If the element catalog has items in it, the name of the current file being examined is assigned to the "FullName" variable*/
                FullName = ThisFile.Name;
                /*The FullName is then split into an array at each backslash (Backslashes in JavaScrip have their own meaning, in order to
                    input a single backslash two must be used). The last item of the array is the file name which is assigned to the "FileName"
                    variable using the "pop" command*/
                FileName = FullName.split("\\").pop();
                /*The FileName is then split at the period, and the file extension with a leading period is assigned to the "FileType" variable.*/
                FileType = "." + FileName.split(".").pop();
                /*The file path without file name is assigned to the "FilePath" variable. This is done by identifying where in the "FullName" variable
                    the "FileName" begins, and then taking a substring of the "FullName" up to that point.*/
                FilePath = FullName.substr (0, (FullName.indexOf(FileName)));
                /*The new encoded file name is found by running the current file through the nameEncoder function along with the Abbreviation List
                    (Called "CodeBook" in this function). The value produced by the nameEncoder function is assigned to the "EncodedName" variable*/
                EncodedName = nameEncoder(ThisFile, CodeBook);
                /*The encoded name and original name are then assigned to locations 2 and 1 in the File array respetively*/
                FileArray[i][2] = FilePath + EncodedName + FileType;
                FileArray[i][1] = FullName;
                /*The old name and new name are compared to see if a change has actually occurred*/
                if (FileArray[i][1] === FileArray[i][2]) {
                    /*If no change has occured, the file is removed from the array using the "splice" command, since it will only slow down later processes.*/
                    FileArray.splice(i, 1);
                    /*The loop counters are updated to reflect the change in FileArray length*/
                    i = i - 1;
                    len = len - 1;
                    /*Starts the next round of the loop (which is actually repeating the same loop but with the file not requiring renaming removed)*/              
            } else {
                /*If the element catalog for the current file does not have any values it is removed from the "FileArray" using the "splice" command*/
                FileArray.splice(i, 1);
                /*The loop counters are updated to reflect the change in FileArray length*/
                i = i - 1;
                len = len - 1;
                /*Starts the next round of the loop (which is actually repeating the same loop but with the file lacking elements removed)*/
        /*At this point the FileArray contains only files that can, and have been renamed; along with their current and new names*/
        /*Loops through all files in the FileArray*/
        for (var l = 0, lenA = FileArray.length; l < lenA; l++) {
            /*Assigns the current file, its old name, and its new name to the "ThisFile", "OldName", and "NewName" variables respectively*/
            ThisFile = FileArray[l][0];
            OldName = FileArray[l][1];
            NewName = FileArray[l][2];
            /*Opens the current file assigned to "ThisFile" as a File object. File objects allow for changes on the drive itself to be made, while
                changing the .Name attribute of a Doc object will not. This allows for the encoded names to be applied directly to the files themseves.*/
            OpenFile = File(ThisFile.Name);
            /*Changes the file's label to the value of "NewName" and removes the file type (as the label does not show file type)*/
            ThisFile.Label = NewName.split(".").shift();
            /*Changes the PrintFileName value to the value of "NewName" with the file type changed to ".ps"*/
            ThisFile.PrintFileName = NewName.split(".").shift() + ".ps";
        /*Traverses all files in the books and renames the target the book is looking for. If this is not done, the book will still think the old names exist and will
            try to find them to no avail. "traverse" function sends each component in the book through another function,
              in this case the bookComponentRenamer, and supplies the second function with a parameter, FileArray here.*/
        traverse(BookFile, bookComponentRenamer, FileArray);
        xrefRenamer(FullArray, FileArray);
        /*Saves the book file with the updated component names*/
        /*When the book is closed, the BookFile variable will no longer function. Assigning the current books name to the "BookName" varibales will allow the book to be reopened*/
        BookName = BookFile.Name;
        /*All open files are closed*/
        /*Curent book is reopened*/
        BookFile = openBook (BookName);
        /*All book files (now with updated names) are opened*/
        traverse(BookFile, openfile);
        /*Returns the updated book back to the location that originally called the fileNameReplacer function*/
        return BookFile;
    function bookComponentRenamer(Component, FileArray) {
        /*The bookComponentRenamer compares the current book component with names on the FileArray (these are files that have name changes.
            If a match is found, that compent's name is changed within the book itself. This ensures that the names the book file is looking for reflect the updated file names created by this program*/
        for (var i = 0, len = FileArray.length; i < len; i++) {
            if (Component.Name === FileArray[i][1]) {
                Component.Name = FileArray[i][2];
    function xrefRenamer(AllFiles, RenamedFiles) {
        var ThisFile,
        for (var i = 0, len = AllFiles.length; i < len; i++) {
            /*Assigns the first cross reference in the current file to the "ThisXREF" variable*/
            ThisFile = AllFiles[i][0];
            ThisXREF = ThisFile.FirstXRefInDoc;
            /*Whether "ThisXREF" contains a valid cross reference (having a null value means the file has no cross references, or we have already
                looped through them all and can proceed to the next file in the FileArray)*/
            while (ThisXREF.XRefFile !== null) {
                /*Assigns the next cross reference in the file to the "NextXREF" variable*/
                NextXREF = ThisXREF.NextXRefInDoc;
                /*Loops through all of the files in the FileArray. This will let the current cross reference be compared to the files being renamed and see if
                    there are any matches*/
                for (var j = 0, lenA = RenamedFiles.length; j < lenA; j++) {
                        /*Assigns the old name and the new name of the file being compared to cross references to the "OldName" and "NewName" variables respectively*/
                        OldName = RenamedFiles[j][1];
                        NewName = RenamedFiles[j][2];
                        XREFTest = ThisXREF.XRefFile.indexOf(OldName);
                        /*Tests if the current cross reference being examined links to the current comparison file*/
                        if (0 <= XREFTest) {
                            /*If yes, the cross reference is updated with the new name*/
                            ThisXREF.XRefFile = ThisXREF.XRefFile.replace(OldName, NewName);
                            /*Ends the comparison loop for this cross reference as the correct replacement has been found*/
                /*Assigns "ThisXREF" with the value of the "NextXREF" the comparison loop starts again*/
                ThisXREF = NextXREF;

  • Keep CS5 HTML "lightroom" web gallery template from renaming files...

    When creating an HTML Web Gallery (using  ‘Lightroom’ template), Bridge CS5 renames the thumbs and large images to  an arbitrary number.  The caption reads as the original file name, but  the actual image has a new name.  This is problematic, as my clients  will right-click selected images from my galleries to save and forward  for approval, but the file name is not the same as the original.
    As an example: VLNK0321.jpg  is renamed as _4856316150.jpg.  (In Preferences/Output, the "Convert  multi-byte file names to Full ASCII" is unchecked.)
    Is  there any way to fix this little (for me--BIG) problem?  Can the script be altered to keep the original file name, not the ten-digit arbitrary number that it currently generates? 
    Thanks for any help offered!

    I believe I've discovered the file/script that does the renaming.  I've done some testing, and have been able to change the way Bridge does the changes, but not able to keep the original file name.
    The file is "galleryCreator.jsxinc", found in C:\Program Files\Common Files\Adobe\Bridge CS5 Extensions\Adobe Output Module\mediagallery\resources\scripts.
    I'm not a code-guy, so I'm hoping that someone with more smarts than I can help.  Below is the part of "galleryCreator.jsxinc" that does the re-naming.  Simply deleting this entire part of the script renders Bridge unusable.  So allowing the script to create the altername is important.  If the alteration could consist of only adding the "underscore" prefix to the original file name, all would be well...
    Here's the pertient portion of the script:
    AOM.AmgGalleryCreator.createUniqueFileName = function(filePath, jpgFile, createMode)
        var alteredName;
        while (true)
            alteredName = "_";
            for (var i=0; i<10; i++)
                alteredName += Math.floor(Math.random() * 10);
            alteredName += ".jpg";
            var f = new File(filePath + alteredName);
            if (!f.exists)
        return alteredName;
    I will send a check for $200 to the first person who can rewrite this to simply add the underscore first, then return the original file name instead of the random number generator, and make it work.  Anyone? 
    Message was edited by: MarkDas

  • Report Script returns no data and "java.io.FileNotFoundException" error

    When attempting to write to a new file (Eg: C:\TEST.txt), Report Script returns no data and "java.io.FileNotFoundException" error occurs.
    This error occurs only in Essbase release, however it works fine in release
    After running the report the script, it pops up the follwing message:
    "java.io.FileNotFoundException: ..\temp\eas17109.tmp (The system cannot find the file specified): C:\TEST.txt"
    When checked the TEST.txt, it was empty.

    Sorry folks, I just found out the reason. Its because there was no data in the combination what I was extracting.
    but is this the right error message for that? It should have atleast create a blank file right?

  • I can edit on Premiere Pro 6 files, but after a dozen keystrokes, the space bar and cursor keys stop working while the save function works

    I can edit on Premiere Pro 6 files, but after a dozen keystrokes, the space bar and cursor keys stop working while the save function, render workspace function, export file are still operational. How can I fix it so I may complete my assignment?
    Besides DaVinci Resolve, Adobe Creative Suite 6 is the only software on the machine. I am using Windows 7 Professional 64-bit Operating System on AMD FX 6100 six-Core Processor at 3.31gHz and 32 GB RAM memory. There are two SLI-bridged GTX680 NVidia cards.
    The software was very stable for the last six months, working with 720P proxy files from 2.5K masters (Blackmagic Design Camera). I am working on a feature-length project that exceeds 1000 edits. I have broken the file into 2 one hour segments.
    I have deactivated the software before reinstalling the entire OS from scratch. PP6 was very stable for 48 hours. Then the freezing space bar returns. After a dozen strokes into the project, same problem.  I have made cache files store next to originals, I have deleted preview files if they were corrupted and causing instability. Am I missing something?
    I have Microsoft Security Essentials for virus protection. I double checked the memory for damage/defect. Nothing says that the motherboard or other components are damaged.
    I am in film competition overseas and need to have deliverables in less than a month's time.  I lost the last two weeks troubleshooting and this crisis came at an inopportune moment of the project.
    Any assistance would be greatly appreciated.

    Still getting software freezes but found a way to mitigate for the mean time.
    Upon launching Adobe Premiere Pro, hit CTRL-ALT-DEL to launch TaskManager as well.
    You will want to highlight Adobe QT32 Server.exe
    Right click and select "End Process Tree"
    You will get considerable stability in the program, long enough to get timing of cuts done. Be sure to save often.
    If the program freezes, do not hit Save. You definitely want to avoid saving the corruption into your TimeLine
    CTRL-ALT-DEL to relaunch the TaskManager and highlight Adobe Premiere Pro.exe
    Right-click to "End Process"
    No need to reboot the whole system; just launch Premiere Pro again and continue with the session. Note that your work reverted to Last Save.
    Hope this helps until the bug is fixed.

Maybe you are looking for