|
Post by schlentzer on Sept 3, 2021 16:06:07 GMT 1
Hi, i want to start our 16bit program using vDos directly from excel2010.
the program is starting normally when double clicking vDos.exe, but when using:
Sub vDos() PID = Shell("C:\vDos\vDos.exe", 1) End Sub
vDos does not excecute the 16bit Program. I have also tried to use a .bat file that opens vDos.exe but this also does not work. Thanks in advance Schlentzer
|
|
|
Post by Jos on Sept 3, 2021 17:26:44 GMT 1
Simplest would be to edit autoexec.txt so it starts your DOS program. Something like:
CD appdir DOSapp Exit
Jos
|
|
|
Post by Jos on Sept 3, 2021 17:47:46 GMT 1
I misread your question.
Problem would be vDos.exe tries to read autoexec.txt in the current work directory.
Seems that isn’t set to C:\vDos with Shell("C:\vDos\vDos.exe", 1). So you have to set that first.
Or start a shortcut instead?
Jos
|
|