Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Null value in a .bat

Status
Not open for further replies.

Cretin

Technical User
Jan 2, 2003
194
US
I have been tasked to writing a .bat file so a scheduler can run oracle jobs. is what i need to do is use the scheduler to send values to variables in a .bat

[MM][DD][YYYY] 10 20

echo %1 %2 %3 %4 > D:\Operations\TEST\test_bats\test_log.txt

now by default .bat variables that are not assigned a value are null. That would work if %4 was what we needed to be null. But what if %3 is supposed to be null and %4 has a value. Is there any command line function to pass a null value to %3. Oracle considers null to be a blank value.

Cretin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top