Can any one tell me how to edit & execute .bat files in vb application form.
ruturaj3 Journeyman Apr 20, 2007 #1 Can any one tell me how to edit & execute .bat files in vb application form.
[A]bu Journeyman Apr 20, 2007 #2 open a file in output mode having extension .bat. Now type codes... just then use shell cmd in vb and locate the path
open a file in output mode having extension .bat. Now type codes... just then use shell cmd in vb and locate the path
redhat Mad and Furious Apr 22, 2007 #3 Do you want to execute a batch file???? Then use this: Code: Dim RetVal RetVal = Shell("C:\mybatch.bat", 1) The general syntax to use this is : Code: RetVal = Shell([Pathname of EXE],[WindowStyle As vbAppWinStyle = vbMinimisedFocus])
Do you want to execute a batch file???? Then use this: Code: Dim RetVal RetVal = Shell("C:\mybatch.bat", 1) The general syntax to use this is : Code: RetVal = Shell([Pathname of EXE],[WindowStyle As vbAppWinStyle = vbMinimisedFocus])