Solved can i get through to cmd via Microsoft excel

April 18, 2018 at 13:40:41
Specs: Windows 10
hi i'm quite new and i'm working in a safe environment at school i've helped them patch up most backdoor's but i was wondering if i can get through windows excel

See More: can i get through to cmd via Microsoft excel

Report •

April 18, 2018 at 13:51:10
You can patch backdoors but don't know how to access the command prompt?

Report •

April 18, 2018 at 15:14:39
✔ Best Answer
I'm not exactly sure what you are "quite new" at or what you are trying to do/prevent.

I can tell you that you can open a CMD prompt window through a macro:

Sub OpenDosPrompt()
  Call Shell("cmd.exe", vbNormalFocus)
End Sub

There are also lots of things you can do from within VBA without actually opening a command prompt window, such as running a program directly.

Sub MyCalc()
Dim RetVal
 RetVal = Shell("CALC.exe", 1)
End Sub

Perhaps you are interested in the Shell command.

message edited by DerbyDad03

Report •
Related Solutions

Ask Question