Re: Windows, RMAN, Environmeent Variables - Help!
From: Niall Litchfield <niall.litchfield_at_gmail.com>
Date: Tue, 19 Apr 2016 12:16:11 +0100
Message-ID: <CABe10sbFxYeMa6EYTMSX59u1dUOUbutGmpeHiC_FHWKWxHf43g_at_mail.gmail.com>
ancient memory here, but I *think* its RMAN not liking the "\" character - the command shell certainly does understand that variable
Date: Tue, 19 Apr 2016 12:16:11 +0100
Message-ID: <CABe10sbFxYeMa6EYTMSX59u1dUOUbutGmpeHiC_FHWKWxHf43g_at_mail.gmail.com>
ancient memory here, but I *think* its RMAN not liking the "\" character - the command shell certainly does understand that variable
Z:\>set BACKUP_LOCATION=H:\BACKUPS
Z:\>ECHO %BACKUP_LOCATION%
H:\BACKUPS
if I'm right just swap the \ for unix style / characters - windows will be
happy with that as well :)
Z:\>set BACKUP_LOCATION=Z:/BACKUPS
Z:\>ECHO %BACKUP_LOCATION%
Z:/BACKUPS
Z:\>CD %BACKUP_LOCATION%
Z:\backups>
On Tue, Apr 19, 2016 at 10:56 AM, Norman Dunbar <oracle_at_dunbar-it.co.uk> wrote:
> Sorry, I neglected to mention that this is all Windows 7 Professional too.
>
>
> Cheers,
> Norm.
> --
> Sent from my Android device with K-9 Mail. Please excuse my brevity.
>
-- Niall Litchfield Oracle DBA http://www.orawin.info -- http://www.freelists.org/webpage/oracle-lReceived on Tue Apr 19 2016 - 13:16:11 CEST