Re: Windows, RMAN, Environmeent Variables - Help!

  • From: Niall Litchfield <niall.litchfield@xxxxxxxxx>
  • To: Norman Dunbar <oracle@xxxxxxxxxxxxxxx>
  • Date: Tue, 19 Apr 2016 12:16:11 +0100

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@xxxxxxxxxxxxxxx>
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

Other related posts: