Windows needs to set ORACLE_SID and Oracle_home when using Asmcmd, the path does not need to be quoted when setting Oracle_home
C:\users\administrator>asmcmd
"Asmcmd:the environment variable oracle_home is not set."
C:>set Oracle_sid=+asm To set the ASM instance name, the single instance writes +asm, if it is a RAC, write the +asm1 of the node
C:>set Oracle_home=f:\app\11.2.0\grid--Enter asmcmd prior to setting the ORACLE_HOME environment variable,
C:>asmcmd
' Perl.exe ' is not an internal or external command, nor is it a running program
or batch file.
--If this error occurs because a single quote is added outside the F:\app\11.2.0\grid
C:>asmcmd
Asmcmd> ls
ocr/
data/
bak/
Asmcmd> exit OK, exit.
This article is from "Xu Sanjin those years of mixed it" blog, please be sure to keep this source http://xu3jin.blog.51cto.com/2261216/1828553
Windows uses Asmcmd ' Perl.exe ' not internal or external commands