Main Area and Open Discussion > General Software Discussion
How to -connect- Windows Visual Basic Apps with Windows Batch files?
OptimalDesigns:
it worked!!! oShell.run "cmd /C set win~dir=" & fileTempPath & " && " & tmp3, 3, True
"win~dir" is my environment variable that passed windows present path, fileTempPath, to the 'bat' file.
My problem was due to a shortcut to my FC-base.bat file, called FC-base-launch.lnk. If the 'bat' file was called directly from my windows app, all was fine. But, call a shortcut 'launch' link and the users path was lost. :( These 'launch' links allow users to define their text & background colors, text fonts & sizes, etc. ... very helpful for developers to let the owners decide these things. A bat file does -not- have such options.
Thanks KodeZwerg & f0dder for your help!
Phil
Navigation
[0] Message Index
[*] Previous page
Go to full version