process wait

About this tag
The process wait tag covers issues where a script or macro fails with an error such as 'unable to wait for process' when attempting to run a command-line program like FTP. This typically occurs when using the Windows Script Host Run method with the wait parameter set to True. Discussions focus on troubleshooting this error in Windows environments, including possible causes like system settings, permissions, or script host configuration. The tag is relevant for users automating tasks with VBA, batch files, or scripting on Windows, particularly when migrating to a new PC or different Windows version.
  1. F

    Windows 7 FTP Problem on New PC

    I have the following FTP code which works perfectly on my one PC at the office. I have just been given a new PC and when running the macro run time error 440 "unable to wait for process" The following code is highlighted wsh.Run FTPcommand, 5, True I am using Office 2010 and...
Back
Top