Message 1 of 3
sending commands to the system...

Not applicable
05-22-2001
05:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I need to access the equivalant of typing "SHELL" @ the AutoCAD command
prompt... From within my VBA app...
I was using SendCommand to do this...
SendCommand "Shell write.exe /p c:\tmp.txt"
but I'll bet that some of you are thinking...
WHAT IN THE WORLD IS HE THINKING!
Is there an easy way to send commands to the system like...
write.exe /p c:\tmp.txt
I'm still pretty new to VB / VBA, so I would appreciate any help.
TIA
Thomas Smith
prompt... From within my VBA app...
I was using SendCommand to do this...
SendCommand "Shell write.exe /p c:\tmp.txt"
but I'll bet that some of you are thinking...
WHAT IN THE WORLD IS HE THINKING!
Is there an easy way to send commands to the system like...
write.exe /p c:\tmp.txt
I'm still pretty new to VB / VBA, so I would appreciate any help.
TIA
Thomas Smith