Converting PROGRESS 10 DB to 11 - How to bypass backup question

LBaliao

Member
Hello.

I have a batch file that I am running from my program. I do all the steps necessary before running PROUTIL dbname -C conv1011. However, it prompts this message and requires user input.

You must have your database backed up before running the conversion (1024)
Have you done this (y/n)?

Does anyone know how I can bypass this message so that user input is not necessary and automatically set the value to "y"?

Thanks in advance for your help.

Liza
 

RealHeavyDude

Well-Known Member
echo "y" | proutil dbname -C conv1011
 

RealHeavyDude

Well-Known Member
Sorry - did not spot the "batch file" - assuming you're on Windows - my previous solution works *nix.

Create a text file that contains just the y and a line break.

proutil dbname -C conv1011 < theTextFile.txt
 

LBaliao

Member
Awesome RealHeavyDude! The solution with the "< y.txt" worked.

I appreciate your help very much. Thanks again!

Liza
 
Top