Hi all. I have a question in regards to opening another application. I have code that opens the DOS command prompt. However I can't get it to stay open long enough to do anything. Any ideas on how to prevent it from closing? After I get that problem solved, I need to feed it (the dos app) a command. Below is my code currently.
***BEGIN CODE***
Function CmdPrmpt_()
Dim strCmdPrmpt As String
Dim strCmdLine As String
strCmdPrmpt = "Y:/cmd.exe"
Call Shell(strCmdPrmpt, vbNormalFocus)
End Function
***END CODE*** Jay![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
"If the words up and down were reversed, would you trip and fall or trip and fly?"
***BEGIN CODE***
Function CmdPrmpt_()
Dim strCmdPrmpt As String
Dim strCmdLine As String
strCmdPrmpt = "Y:/cmd.exe"
Call Shell(strCmdPrmpt, vbNormalFocus)
End Function
***END CODE*** Jay
![[infinity] [infinity] [infinity]](/data/assets/smilies/infinity.gif)
"If the words up and down were reversed, would you trip and fall or trip and fly?"