RMAN having trouble with spaces in file names.

Hi,
RMAN is complaining if cmdfile and log file names have space in them (even if they are quoted). This test is done on windows with 10g.
cmd> rman target / cmdfile rcmd.txt
This works fine. However,
cmd> rman target / cmdfile "E:\test dir\rcmd.txt"
complains about syntax. Something like:
Argument Value Description
target quoted-string connect-string for target database
catalog quoted-string connect-string for recovery catalog
nocatalog none if specified, then no recovery catalog
cmdfile quoted-string name of input command file
log quoted-string name of output message log file
trace quoted-string name of output debugging message log file
append none if specified, log is opened in append mode
debug optional-args activate debugging
msgno none show RMAN-nnnn prefix for all messages
send quoted-string send a command to the media manager
pipe string building block for pipe names
timeout integer number of seconds to wait for pipe input
checksyntax none check the command file for syntax errors
Both single and double quotes (' or ") are accepted for a quoted-string.
Quotes are not required unless the string contains embedded white-space.
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-00552: syntax error in command line arguments
RMAN-01009: syntax error: found "identifier": expecting one of: "append, at, auxiliary, catalog, cmdfile, clone, checksyntax, debug, log, msglog, mask, msgno, nocatalog, pipe, rcvcat, script, slaxdebug, send, target, timeout, trace"
RMAN-01008: the bad identifier was: dir
RMAN-01007: at line 0 column 10 file: command line arguments
Am I missing something here? Any help is greatly appreciated.
Thanks,
Raghu.

I got response from oracle support folks on this. Looks like two levels of quotes are required to make it work.
Something like:
cmd> rman target / cmdfile "'E:\test dir\rcmd.txt'"

Similar Messages

  • I am having trouble with opening PDF files

    I am having trouble with opening PDF files. When I click on the file, I end up with 40 or more folders all over my desktop, which cannot be opened.  Any idea what I should do?

    try right click on the file, and select open with preview.. thats the mac os x pdf viewer

  • I am having trouble with an excel file wanting to save when no changes were made & opening as read only for the 2nd person - but allowing them to save the file.

    1) I am having trouble with an excel file wanting to save when no changes were made.  As soon as you open the file and exit.  It prompts for a save.
    All excel versions are 15.0.4701.1002.
    Using a table.
    the functions CELL, OFFSET, TODAY, INDIRECT, NOW, INFO and RAND are not being used.
    2) Same file.   2nd person is being told they are opening the file as read only - but when they are quitting excel prompts them to save the file. 
    Everything was working fine.  I started having problems with Excel, IT wiped my version out and re-installed office. 
    File is on networked server HP - Windows Server 2012 Essentials.  
    We are all on Windows 8.1 Pro.
    I really hope someone can help - the excel expert had no answer - and passed me along to here.

    I copied the whole file and started deleting worksheets one at a time and testing it by closing it and re-opening it then closing it again – to see if it wanted to save. 
    Once all the pivot tables were deleted – the problem went away. 
    I found that some of the pivot tables had automatic refresh upon open, so this caused the excel to think data had changed. 
    It is fixed now.  By clicking on one cell of the pivot table, analyze, options, data and uncheck the 3<sup>rd</sup> square down to not automatically refresh.  NOT A NETWORK ISSUE.

  • To whom this may concern, I'm having troubles with uploading Flash Files Online throught Adobe Flash Professional and I would to correct the Error Messages I've received as an indication that I need to correct them in order to test a Flash and Shockwave F

    To whom this may concern, I'm having troubles with uploading Flash Files Online throught Adobe Flash Professional and I would to correct the Error Messages I've received as an indication that I need to correct them in order to test a Flash and Shockwave Files I have stored into the Software of Flash!. Could you please help me get this matter resolved? Gerard Hargrove.

    what exactly are you trying to do and attach a screenshot of the error message, if it's in english.

  • Having trouble with a audio file. Need help please!

    Hello. 
    This may sound funny and not to related to any of this at first, but if anyone here knows about the game portal, then they know about the ARG that went on during last week and may even still be continuing. None of thats really important but if anyone cares to know, basically VALVe released a new update with 30 new sounds, 26 of them moarse code/sstv pictures. 3 of them called dinosaur_fizzle 1 2 and 3. Infact, each one was named dino_1 dino_2 and so on. 
    The main sound that no ones been able to crack is called Dinosaur_noise. Its obvious there are voices in it and its some sort of major clue, this file is way out of league with the other ones. No ones solved it 100% or cleaned it enough to make basically anything audible.
    Now this started March 1st. Since then i have worked hours on the audio file. I have gotten close, but not close enough.
    Thats why im turning to someone here, that can do a through analysis of the audio that adobe or reaper just cannot do.
    In the attachments is the original file itself with no editing what so ever.
    Heres some collected data. 
    Frequencies of interest
    An analysis was undertaken to find the strongest frequencies acting within "dinosaur_noise". Linear and Logarithmic curves showed sets of dominant figures, with the most being:
    Frequency (Hz)
    Comments
    9092
    Largest spike before silence
    7862
    Very faint
    7812
    Very faint
    7657
    Very faint
    7502
    Largest spike in the 4000-9000Hz band
    3502
    various noise between 3502 and 3510
    360
    Another very visible wave. This was the most pronounced visible wave in the Logarithmic scale
    35
    The most dominant low frequency wave
    There are a few standout segments, not of voice data underneath, but visible clicks or something happening about 5 times. These could be indications of splices or other manipulations going on. The largest noticed broad-spectrum spikes were:
    Time(in samples)
    Comments
    55402
    First broad spike
    422931
    Second broad spike
    751643
    Third broad spike
    1081537
    Fourth broad spike
    1110841
    Fifth broad spike
    Silence in the frequency ranges is located in the band of 10.567 - 15.337 KHz. All frequencies above that are likely to be high frequency poinoning from the FFT process. 
    Heres what i know personally.
    -Noise reduction makes it a lot worse and adds strange harmonics and artifacts.
    -Most filters do the same.
    -Clear voice around 15 that says THATS AMAZING.
    If anyone cares to help I would appreciate it so much.
    Here are some links that might help.
    http://www.snotmonkey.com/work/school/405/methods.html
    http://pastebin.com/r90fEtnd C++ code
    Actual files in attachments 
    Attachments:
    dinonoise.zip ‏2554 KB

    LabVIEW has a sound and vibration toolkit.  Do you have that?  Do you have LabVIEW?
    The forum is made up of volunteers who will help others with their LabVIEW problems.  But you need to have a specific problem and ask clear questions.
    What you are asking for is very unclear.  Why do you even want to do a "thorough analysis of the audio"?  No one is going to do your project for you.

  • Reinstalling Windows having trouble with insert media files.......

    HP Pavilion Sleekbook 14-b014tx Serial Number: [Personal Information Removed] Product Number: C7E03PA
    This laptop have last for more than 1year and I just felt that my device isnt running smooth so Ive decided to reinstall the windows/windows 8 single language 64bit , I cant perform the request it always notifies me "
    Insert Media Some files are missing. Your windows installation or recovery medial will provide these files"
    Anyone can help me , provide appropriate methods PLEASE HELP!!!!!

    HI @TechJohn ,
    Welcome to the HP Forums!
    It is a terrific place to find answers.
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp that you decided to reinstall Windows 8 single language 64 bit but you get the error that it can't performs the request and asks you to insert media disk.
    How are you doing the reinstallation from a Windows disk or from Recovery disks.
    Here are links to assist you with doing a recovery back to factory.
    HP PCs - Performing an HP System Recovery (Windows 8)
    HP PCs - Troubleshooting HP System Recovery Problems (Windows 8)
    You will see an option to backup your personal files during this process. If you have not done one recently now is the perfect opportunity.
    HP PCs - Restoring Files that were Backed Up Using HP Recovery Manager (Windows 8)
    You can contact HP support at any time for assistance.
    Please call our technical support at 800 474 6836. If you live outside the US/Canada Region, please click the link below to get a support number for your region.
    World Wide Phone Support
    Best of Luck and have a terrific weekend!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • Still having trouble with reading text file into array

    Hi, This is from another post, I have tried one of the solutions that were provided, but got the following error at runtime:
    C:\j24work>java Test7
    Exception in thread "main" java.lang.StringIndexOutOfBoundsException
    at java.lang.StringBuffer.deleteCharAt(StringBuffer.java:681)
    at Test7.main(Test7.java:26)
    My code is attached. My text file reads as follows:
    7 5.5 15 5.35 30 6.5
    The first , third and fifth numbers should ultimately be int values representing the term of a mortgage. The second, fourth and sixth numbers ultimately need to be doubles representing the rate on a mortgage. Do I need a 2d array??
    import java.io.*;
    import javax.swing.*;
    import java.awt.*;
    import java.text.*;
    public class Test7 {
        public static void main(String[] args) throws Exception {
            String line        = null;
            int count   = 0;
            StringBuffer Term  = new StringBuffer();
            StringBuffer Rate  = new StringBuffer();
            BufferedReader input = new BufferedReader (new FileReader ("MortgageValues.txt"));
            while ((line = input.readLine()) != null) {
                if(count%2 == 0) Term.append(line).append(",");
                else        Rate.append(line).append(",");
                count++;
            Term.deleteCharAt(Term.length() -1);
            Rate.deleteCharAt(Rate.length() -1);
            System.out.println("Term>>>" +Term);
            System.out.println("Rate>>>" +Rate);
           // input.close ();
        }

    Okay, modify the code as below:
    import java.io.*;
    import java.util.*;
    public class Test7 {
        public static void main(String[] args) throws Exception {
            String line             = null;
            StringTokenizer strTok  = null;
            int count          = 0;
            StringBuffer term  = new StringBuffer();
            StringBuffer rate  = new StringBuffer();
            BufferedReader input = new BufferedReader (new FileReader ("MortgageValues.txt"));
            while ((line = input.readLine()) != null) {
                strTok = new StringTokenizer(line);
                while(strTok.hasMoreTokens()) {
                    if(count%2 == 0)    term.append(strTok.nextToken()).append(",");
                    else                rate.append(strTok.nextToken()).append(",");
                    count++;
            term.deleteCharAt(term.length() -1);
            rate.deleteCharAt(rate.length() -1);
            System.out.println("term>>>" +term);
            System.out.println("rate>>>" +rate);
           input.close ();
    }Cheers!
    ***Annie***

  • Having trouble with DVD Video files. Please Help! :)

    Hi I recently got a film DVD I wanted to take a clip off. However although I can watch the section I want in Windows Media Player, when I import the film into Premiere - some of it is missing! there are 4 files '4-1',4-2','4-3',4-4' which make up the movie. I can load them all in but 4-3 is missing the last 15-20 minutes, even though I know its there - cos this file is the same size as the previous one which is full length. Does anyone know why this would be? The DVD is unencrypted.
    Please help - its quite annoying that the small section of film I want is the bit that won't appear! Thank you very much
    Rich

    Based on this one line:
    The DVD is unencrypted.
    I was assuming that it was not protected. However, as you point out, some aspects might be, and the OP might not be completely aware of this.
    If there is protection, I strongly urge anyone to respect that, regardless of their intended use of the material. Copy protection is there for a very good reason. Regardless of what one might be able to do, they should be 100% ethical, and honor any/all copy protection. This is true for material from a videographer, or from a commercial studio. Should you need to use the material in such a DVD-Video, you should contact the author to get first permission, and then the original source material, that has not undergone the MPEG-2 compression to DVD-Video.
    Again, I assume that the OP knows that this is NOT an issue, and will not figure into the problem. In that case, all above does NOT apply in this case, but some other reader might make note of it.
    Good luck,
    Hunt

  • 30EA4 Bug - load data, space in file name

    Ubuntu 10.10, JDK 6.24, Sql Developer 3.0 EA4
    If we try to import/load data from .xls file with space in file name, for example "list of cattle.xls" instead "list_of_cattle.xls" it doesn't work. It reports the following error: "Load data into table TABLE_X from file list of cattle.xls. Task failed and load rolled back."
    The only workaround is to rename the file name without spaces.

    same problem when unload - Ver 3 - problem with unload results

  • I am having trouble with disk space,

    I am having trouble with disk space, I am always getting the error message that I need to delete files on my start up disk, I am all out of space. I cant even save a file to my desktop without getting the message, Is there a way I can free up space. I am not very computer savvy, being a pensioner I  cannot afford expensive options.  I was familiar with the old apple imac, but I was given a macbook pro for my birthday, and am trying to work it out.  I use it mostly for photos and web.

    Jillian,
    I'm assuming this is a second-hand machine.  If it is brand new, get it to Apple because it's their problem, not yours.
    First thing you should do is go to Programs: Utilities: Disk Utlity and choose "Repair Permissions."  If you don't have the OS X system disk (a DVD) go ahead and verify the Disk. It can't fix itself, so to speak, but can tell you if there is a problem.  iIf you have the OS X system disk then boot off the disk, go to Disk Utility, and run Repair Disk.  Assuming all is OK:
    You don't need to download any programs to get started on figuring out why all your space is gone.  Try this first:
    Oh, when deleting, especially at first, you may have to move only small folders or even files, of 100 MB or so to the trash, then empty the trash.  As the free space increases, you can trash progressively larger files.  To delete files, the computer needs to create even more files to tell it what files it is deleting before it deletes them.  I know, go figure.;)
    It would not be a bad idea, and is in fact a very good idea, to run the disk utility "Repair permissions" after every half-dozen trash/empty trash cycles and then restart the computer.
    The basic plan is to search for unreasonably sized folders. 
    From the Finder:
    Open a window, click in the window and then:
    Go to menu item View. (If you click on the desktop instead of a window, you'll get a different set of view options, none of which is the one you want.)
    Click on it and move the cursor to the bottom choice, Show View Options (alternative Apple (Command)-J).  Make sure the checkbox "Calculate all sizes" is checked. If it isn't, check it and then click on "Use as default" When checked, it will show you the size of a folder.  If it was unchecked, don't be surprised if nothing seems to be happening as it will take awhile for the computer to calculate the size of, literally, thousands of folders.  But some will start to show up right away. If you open a new window and don't see any folder sizes, Repeat the Show View Options routine above and if Calculate all sizes is checked, just wait.
    I've heard you Aussies enjoy a beer or two.  If your Mac has to calculate all the folder sizes, this might well be a good time to have a cold one or two, as it will take some time.
    Go to the root level, which is "Computer" or "_Your Disk Name_," generically Macintosh under Devices in the sidebar.
    Make sure you are in list view and can have the size column visible.  Click on it (turns blue-grey) and it will sort by size, large to small or the reverse.  Click again to reverse the sort order.
    On my 10.6.8 machine, I have
    98 GB under Users.
    22 GB under Applications. If you only have the Apple-supplied applications, you probably have between 4 and 6 GB here.
    Library is 24.5 GB
    System is 4.6 GB
    Other than a few trivially small files or folders, that should be about it for the root level.
    If you have two System files, you shouldn't, and will need to get rid of one.  Ask for advice before deleting one or the other.  If you have a, "Previous System," or "Old System," -- can't remember the language, you can proably safely delete it if you are satisified with how your computer is working. 
    The Library is a candidate for bloat.  Some applications, especially those that manipulate audio or video, store the bulk of their code, generally resources of one type or the other, in the Application Support folder. For instance, I have a 10.5 GB folder of Live Type in my Application Support folder.  Honestly, I don't know what program it is for, but don't care because I upgraded to a 3/4 TB drive.  In contrast, on my 10.7.1 computer, which has little more than the Apple supplied software on it at this point, uses only 1.5 GB for Application Support.  The support folders will remain even if the program itself is deleted.  As a general rule, I wouldn't bother checking out anything under 300 MB or so.  Any folders over that, you should note for possible deletion _but_ be sure to ask someone with more knowledge about this what it is used for before deleting.  If it is used for some program that isn't on your machine, meaning the program has been deleted, you can safely delete it.  If the program is still on the machine, decide if you will use that program and, if not, delete the program and its application support files.
    My next largest folder in the Library is Audio at 2.7 GB.  I have audio editing programs, so that makes sense. You probaby have one also, but shouldn't be over 500 MB or so.
    Next is Printers at 1.4 GB.  This is a good place to clear up space.  You'll see folders with various printer brands.  Do you have a Brother printer?  No?  Trash it.  Just keep the folder with your printer brand and the PPD folder and trash the rest.  If you want to get real fancy, open your brands folder and delete the files for every model other than the one you have. 
    My next largest is Fonts at 490 MB.  Leave that alone. In fact, unless Fonts is something insane like 2 GBs, stop deleting from the Library.
    Go to Users.  There could be between one and more than one user.  (Fudge of an answer there.)  There is no such thing as a guideline for user folder size.  Is there a previous user?  If so, check with them and see if you can delete it.  I have a "dummy" administrative - level user that can be used for some esoteric rescue operations and it takes up a trivial 33 KB or something like that while my own account is pushing 100 GB.
    You'll see several folders, Music, Pictures, Desktop, etc.  This is stuff you or the previous user have created.  If you don't want it, delete it.  You will also see, aha! another Library folder.  There shouldn't be many folders over 100 MB here except for Mail and our friend Application Support.  I get a lot of mail, rarely delete any, and have carried it over from 10.3 and measures out at 3.7GB.  Still, if its someone elses mail and you don't want it, you can delete it, but again, check with more knowledgable people as there are probably some files and folders you absolutely should not delete, others that you should delete from within Mail, and some you can manually delete. 
    My Application Support Folder weighs in at 1.4 GBs, of which 1.2 GBs is for Final Vinyl.  That's a lot.  Sneaky sucker stored some untitled audio files in there.  Bye! OK, now the Application Support folder is down to 145 MB.  So, I'd say anything much over that should be investigated for possible deletion.  Close up Library and move on.
    Downloads may be very small or very large.  Depends on how meticulous the previous user was in deleting or moving to a more appropriate location.  Ask them if there is anything they want, and if no, delete it.
    My Application folder has Zero KB because I always install at the root, administrative level.  If there is anything there, figure out if you want to use it or not.  If not, trash it.
    Overall:
    1) Don't sweat the small stuff.  The days are long gone when searching a hard drive for a 100 K file to delete is worthwhile.
    2) Start small.  A disk that full is going to be pretty touchy, so once you have identified a bloated folder, go inside of it and trash the smaller files and folder, then empty the trash, then delete a few more files, empty the trash, etc. 
    3) Don't forget to periodically Repair Permissions and restarting the computer.
    4) If you are unsure about whether a folder or file can be safely deleted, ask someone knowledgable or just knock off for the day and hit it again tomorrow.  Seriously, an unanswerable question you have might well be answered by sleeping on it and attacking it the next day.
    5) As Douglas Adams wrote: DON'T PANIC!
    Best of luck! 
    Chris

  • HT1926 Started having trouble with iTunes so I uninstalled everything and tried to reinstall but it says ' iTunes cannot run because some of its required files are missing. Please reinstall iTunes.'  Well, I've uninstalled and reinstalled 5 times.  Now wh

    Started having trouble with iTunes so I uninstalled everything and tried to reinstall but it says ' iTunes cannot run because some of its required files are missing. Please reinstall iTunes.'  Well, I've uninstalled and reinstalled 5 times.  Now what?

    I figured it out.  A week ago I had downloaded a screensaver from a website I trusted and that's when my problems started. I uninstalled it but that didn't help.  So, I reinstalled it then used an uninstall softtware app that cleanns more than the control panel does. Then I used a computer cleaner to be sure everything was wiped clean.  And it worked.  I downloded iTunes for the 7th time in 2 days and finally it worked!  And I lost nothing from my account.
    Maybe this info will help others.

  • Having trouble with wav files and sample rates

    Hi ,I am having trouble with wav files and sample rates .I have been sent multiple projects on wav as the main instrumental ; I wish to record in 48.000kHz .Now comes the problem.When I try to change the project to 48k It seems to pitch up the track.I can't have them send the logic/project file as most have outboard synths,different plug ins etc.This particular case the producer has recorded the synth task in 41.000 kHz .My successful outcome would be to be able t create a project file in 48 kHz .And NOT pitch up whne I add the instrumenta wav file .Any help would be gratefully recieved,this is my first post so any mistakes I may have made go easy 

    You'll have to convert the actual synth audio file file that the producer gave you to 48kHz. You can do this in the audio Bin in Logic.

  • I am having trouble with my speakers not working while online in particular on windows.My audio works when playing audio files

    I am having trouble with my speakers not working while online particular on facebook. My audio works when playing audio files.

    Hi,
    Did it happen all the time or sometime?
    Please check online browser status:
    Click Volume icon in the taskbar, click Mixer link button as below:
    If it's fine, follow this guide to run troubleshooter to detect and fix the issue:
    Tips for fixing common sound problems
    http://windows.microsoft.com/en-in/windows/tips-fixing-common-sound-problems#tips-fixing-common-sound-problems=windows-7
    Meanwhile, this similar thread also could be referred:
    https://social.technet.microsoft.com/forums/ie/en-US/a4a1cfe5-93a5-4c0b-9bf6-f7db0304f2ba/no-sound-on-youtube-or-any-other-webpage
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Having trouble with disc space on my 120G mac air. I back up to a separate my passport for mac disc, but my mac is also holding 40G worth of back up when i check what is using space. Why is this?

    Having trouble with disc space on my 120G mac air. I back up to a separate " my passport for mac" disc , but my mac is also holding approx 40G of back ups as well when ive checked what is using space. Why is this?
    Ive started running iphoto from the separate passport to save space,
    and put all my music into the itunes match to save space as well
    but it is still saying it is almost full because of the back ups!
    I should of bought a bigger mac, but i need to make do at the moment, but it is hard when it constantly has only 10G or less space left.

    When you use TimeMachine to back up a Mac notebook the local backups feature is automatically enabled. The local backup is just like a TimeMachine backup but it is done to the internal drive rather than an external. The important thing about local backups is that the feature is smart - as you need more drive space for your own data and applications, TimeMachine automatically culls the local backup to give you that needed space. So yes, it will look like you have very little drive space left and that the backup is 'robbing' you of needed GBs. But it really isn't.

  • HT1550 I'm having trouble with importing them into iTunes and converting them at the same time. when i hold down option over the files i can't find where its supposed to say create new version. is this if you're in iTunes?

    I'm having trouble with importing them into iTunes and converting them at the same time. when i hold down option over the files i can't find where its supposed to say create new version. is this if you're in iTunes?

    You can't do it in one step. Add to iTunes first, Once the tracks are in iTunes you may convert to a different format.
    tt2

Maybe you are looking for

  • Printing multiple sizes from a PDF - Choose page source by PDF page size is set

    I've tried this in both Reader 7 and 8.1. What I am experiencing is this: A user is printing a document which has both legal and letter sized pages. I have selected Choose page source by PDF page size when printing. The document will print all pages

  • Preview Printing Negative Images - White text and lines on black background

    Desperate for help here. After upgrading to Tiger, I have more instances when Preview displays a PDF correctly but prints certain pages with images, such as graphs and technical figures, as negatives, that is, white text and line art on a black backg

  • Ons.log errors

    I have a 10g grid console installed configured and working. However thirty four error lines a second are written to the ons.log file. The error is: 05/05/02 12:59:42 [4] Local connection 0,127.0.0.1, 6100 missing form factor. The above line is repeat

  • Imessage is not working, it is not accepting my apple ID password?

    Imessage is not accepting my apple ID password.  I reset my password and it funtions for Itunes and Apps, however, it does not work for imessage. I have tried reseting my Ipad, with the same result.  Is there a fix for this?

  • Grrrrr..... What on earth is going on with the quicktime convert to mp4?

    What on earth is going on with MP4 / quicktime? To convert an avi. file to mp4 is taking as long as it takes to watch the entire movie! I am converting a movie from avi. over to mp4 using the ($44) upgrade facility on quicktime and it is taking the l