I will go into this tomorrow more carefully. Was busy all day.Marco wrote:Serendipity, do you have any clue?
Maybe create a loop to make sure file exists and only then read it?
I will go into this tomorrow more carefully. Was busy all day.Marco wrote:Serendipity, do you have any clue?
Marco wrote: The best steps he can try are:
-load SU 10.40
-execute the script up to line of code 75 included: line 75 should generate the $command variable
-inspect the content of $command and copy it from "cscript" onwards ("cmd /c " is useless in this test)
-open a command prompt (Win+R)
-paste that command and execute
X-mas awesomeness you mean, right?Filehero wrote:Hi Marco, hi serendipity,
thanks for your support.
I will try the steps you've listed. But it could take some time because I#m very buy right now (X-mas horror, you know..).
Cheers,
Filehero
Actually I meant using the "exists" command (to check if the file becomes available) combined with "wait" command.Marco wrote: The waiting loop is a fine idea, but wait() is not supported yet, and I don't want to use unsupported thing. Petition for Don?
Code: Select all
run "cmd /c ping -n 5 127.0.0.1",,2,0; msg "OK";
Better would be to use %winsysdir%\cscript.exe.Marco wrote:Ok, I basically replaced all the instances of "cscript" with "C:\Windows\System32\cscript.exe".
It works on my 7 x64; should work on 8 x64; should work on every other system. Please let me know if there's some incompatibility.
Works.Marco wrote:Right.
Thanks Marco! working fine here too.Marco wrote:Right.