I can't find anything on this one. I have the following code:
I'm using Vista 32 bit. Running this code opens a seemingly random number of instances of the command window, the lowest 45 and the highest 60.
Is this a known problem with using SendKeys in Vista? If so, do we have to get into using SendMessage to use DOS command prompt in Vista, or is there an easier workaround?
An unintended consequence of the information revolution has been the exponential propagation of human error.
Code:
Shell "C:\windows\system32\cmd.exe", vbMaximizedFocus
SendKeys "cd \"
SendKeys "{enter}"
Is this a known problem with using SendKeys in Vista? If so, do we have to get into using SendMessage to use DOS command prompt in Vista, or is there an easier workaround?
An unintended consequence of the information revolution has been the exponential propagation of human error.