Bill – thanks very helpful. At least on my XP system it takes two more
tweaks to make it work, or a tweak and a counter-tweak.
Tweak: For some reason, on my system, system() and exec() don’t handle
the path with embedded spaces properly. I have to wrap the path in
Counter-tweak: The Windows command language, well known as a bastion of
inconsistency :-), treats the first parameter of a Start command
differently when it is enclosed in quotes. It becomes the title for the
This adaptation of your suggestion seems to work for me.
system(‘start “” “D:/Documents and Settings/WRishel/My
Bill K. wrote:
From: “Wesley R.” email@example.com
In Windows cmd.exe, if I enter the name of a file with a Windows
extension, Windows will start the file as if I double clicked on it in
Windows explorer. E.g.
D:/Documents and Settings/WRishel/My Documents/DailyNotes>070701.doc
[Word starts and opens the file 070701.doc]
Seems to work on XP:
system(“start D:/Documents and Settings/WRishel/My
Hope this helps,