Forum Discussion

92_freeman_92's avatar
12 years ago

A question about wscript shell

Hello,

I have a little question about using TC.

If I press windows -> run... and execute ftp there I get command window normally. But when I execute the following code: 


 



WshShell = Sys.OleObject("WScript.Shell");


executeCommand = WshShell.Exec("ftp")


the same window appears but it never gets the command line to input commands. Any ideas how to get around this behaviour are greatly appreciated.



Thank you in advance!