<div dir="ltr">Well here I am replying to my own post. I don't have a solution to the problem I reported, but I did find an alternative solution.<div><br></div><div>I used method finder to find methods with the #String 'delete' in them. The class  #OSProcess contains a method #deleteFileNamed:  which was just what I needed. Provide a fully qualified file name as the argument and it gets deleted. e.g. "OSProcess deleteFileNamed: 'C:\MediaVault\BBC\test.txt'"</div><div><br></div><div>I developed and tested this on 5.2-64 on Windows. 7</div><div><br></div><div>-jrm<br><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 26, 2018 at 3:38 PM John-Reed Maffeo <<a href="mailto:jrmaffeo@gmail.com">jrmaffeo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This seems strange, when I run the command:<div>ExternalWindowsOSProcess command: 'del "C:\MediaVault\BBC\test.txt"'</div><div><br></div><div> I get an error, with or without double quotes around the file name.</div><div><br></div><div>It is strange because I use it three times in my method. The first two invocations launch external programs with long command strings. They work fine, but when I want to clean up, the process fails. The test case above, executed from Workspace, fails consistently.</div><div><br></div><div>It fails  in 5.2/64 and 5.2.32</div><div><br></div><div>I have not tried it in older versions</div><div><br></div><div>-------</div><div><div>Image</div><div>-----</div><div>C:\Smalltalk\Squeak5.2alpha-18110-64bit-201804030952-Windows\Squeak5.2alpha-18110-64bit\Squeak5.2alpha-18110-64bit.1.image</div><div>Squeak5.2alpha</div><div>latest update: #18110</div><div>Current Change Set: BBCRR-RestartAt5.2alpha</div><div>Image format 68021 (64 bit)</div></div><div>-----</div><div><br></div><div>-jrm</div></div>
</blockquote></div>