vbscript to run command -


i'm trying create script runs command: rundll32.exe inetcpl.cpl,clearmytracksbyprocess 255

right errors out

dim objshell set objshell = wscript.createobject("wscript.shell") sexe = """c:\windows\system32\rundll32.exe inetcpl.cpl,clearmytracksbyprocess 255 """           createobject("wscript.shell")           .run sexe & " " , 1, true end          wscript.quit 

any suggestions? make script run bunch of commands , wait until each process executed has finished before executing other command?

the command line should appear if typed @ command prompt (verify wscript.echo sexe):

sexe = """c:\windows\system32\rundll32.exe"" inetcpl.cpl,clearmytracksbyprocess 255" 

Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -