Have you tried doing a
C:\set oracle_sid=TEST

C:\>echo %oracle_sid%
TEST

C:\>sqlplus /nolog

SQL> conn sys/pwd as sysdba
Connected.

See if this works,
then surely conn / as sysdba should work.

And just out of curiosity,
which version of oracle are you using???