Because of the space in the space I get this error :
Error: The following variable name contains an illegal character C:\Users\Ko La\Desktop
How can I resolve this?
if (%A_ScriptDir%="C:\Users\Ko La\Desktop")
return
else{
MsgBox, 4, , Do you want to rename the files in %A_ScriptDir%? (Press YES or NO)
IfMsgBox No
return
else{
MsgBox Rename is done
return
}
}
I also get the same error with when I use the short name :
if (%A_ScriptDir%="C:\Users\KOLA~1\Desktop")
Aucun commentaire:
Enregistrer un commentaire