Okay, I figured out my last problem by myself, but a new one has risen from it's death.
And the crazy thing is it worked for me one time and when I typed the code back in perfectly as before, it gave me some kinda error, please help!!!!!

All I want to do at the moment is open a program and have it run through VB -
The following code has been used and given a error message of - "Invalid Call or argument"

Dim a
'1 stands for open that exe
a = Shell("H:\windows\system32\command.cmd", 1)
End


That doesn't work - and here is the other-----

Open ("H:\windows\system32\command.cmd") For Append As 1

This code too doesn't work and gives me an error message

The command.cmd does exist as I made it before I wrote the code.
Finally, I tried creating it -
open ("H:\windows\system32\command.cmd") for output as 1
and then open it

dim a
a = shell("H:\windows\system32\command.cmd")


Still no such luck, the wierd thing is the dim a command actually worked one time and when I did it again without altering the code it didn't work, and now it never works. I have gone as far as rebooting my system to clear the memory.... Any help please?!?!?

Thanks

-Phil