--- In [email protected], "Gardner, Paul G." <[EMAIL PROTECTED]> wrote: > > > Where is that extra space? > > > file.runas(?"[EMAIL PROTECTED]", "[password]", > ?"C:\WINDOWS\system32\regsvr32.exe", ?~ "~++arg(1)++?~"~) > > I replaced it with "#" below. It was before the arg(1) variable in the > the cmdline parameter. > ?~#"~++arg(1)++?
PowerPro just calls the Windows system routine directly with the arguments you support. Possibly this space is related to the fact that the system optionally allows you to put both the command file and its parameters in one string. So I don't want to change the code since that may break it in some circumstances. I will put a note in the help.
