Friday, October 28, 2005

Good Scripting info

In particular, some things I didn't know about the Start command.
Example, when commands need quoted because of spaces or odd characters, you need to include the title parameter in the command.

From cmd.exe, these two work:
Start mailto:"somebody?subject=some%20words%20separated%20by%20spaces&body=Some%20text%20in%20the%20body%20of%20the%20mail&cc=copyPerson&bcc=blindCopyPerson"

start "Mail" "mailto: Joe.Hayes@Fiserv.com?subject=look at this website&body=Hi, I found this website and thought you might like it http://www.geocities.com/wowhtml/"

This one doesn't:
Start mailto:"somebody?subject=some words separated by spaces&body=Some text in the body of the mail&cc=copyPerson&bcc=blindCopyPerson"


I'd like to know the majik behind specifying the window title in example two (that works) that suddenly allows spaces to be parsed correctly.

No comments:

DBT-50000 when using DBCA.bat on Windows (Oracle 19.11)

I’ve been having some trouble getting DBCA to run in order to create databases. Thought I’d share it with you, and thus document it for la...