Board index » Visual Studio » Shell function
|
rudicheow
|
Shell function
Visual Studio271
Hi All, I've used this many times before but all of a sudden I can't get it to work. This simple line: Shell "cmd.exe C:\winnt\system32\ipconfig.exe" will not work. It starts an instance of cmd.exe but ipconfig does not execute. I've tried variations of course: Shell "cmd.exe ipconfig" Shell "cmd.exe ipconfig.exe" Shell "cmd.exe ""C:\winnt\system32\ipconfig.exe""" and many more! retval = Shell ("cmd.exe C:\winnt\system32\ipconfig.exe") I am I losing my mind or is there a syntax problem somewhere? Dan Artuso, Access MVP - |
