用批处理写的:数据库备份还原工具(第三版)

这一版加强和修正了菜单选择的判断性

@echo off&setlocal enabledelayedexpansion color 0a 
echo.===================================== 
echo.欢迎使用Oracle数据库自动备份还原工具 
echo.作者:乔磊 MSN:[email protected] 
echo.=====================================  
for /f "tokens=2 delims==" %%a in ('path') do (
         set "str=%%a"
         set str=!str: =+!
         for %%i in (!str!) do (
                 set "var=%%i"
                 set var=!var:+= !
                 echo !var!>>%temp%\change.txt
   		 for /f "delims=" %%i in ('findstr "Db_1\bin" %temp%\change.txt') do set var=%%i
         )
)
set /p name=用户名(username):
chcp 437 >nul 
graftabl 936 >nul 
>"%temp%\in.com" echo hP1X500P[PZBBBfh#b##fXf-V@`$fPf]f3/f1/5++u5x 
set /p=请输入密码: 
  

 代码相关

EQU equal 
NEQ not equal  
LSS less than 
LEQ less than or equal 
GTR greater than 
GEQ greater than or equal
 

你可能感兴趣的:(批处理,Oracle,C,C++,C#,F#)