Skip to main content

How do I execute a Windows command from d3 Basic?

  • Apr 23, 2024 1:03 PM UTC
  • 3 replies
  • 47 views

I used to know how to do this...

- Bob



------------------------------
Bob Thomson
President
Synapse Computer Solutions Inc
San Rafael CA US
------------------------------

3 replies

  • Participating Frequently
  • Apr 23, 2024 3:32 PM UTC

I used to know how to do this...

- Bob



------------------------------
Bob Thomson
President
Synapse Computer Solutions Inc
San Rafael CA US
------------------------------

I believe it is, for example, EXECUTE "!DIR C:\\*.xlsx /S>C:\\Users\\Me\\Desktop\\Spreadsheets.txt"



------------------------------
Marcus Rhodes
marcus1@thinqware.com
------------------------------

  • Author
  • Participating Frequently
  • Apr 24, 2024 9:36 AM UTC

I believe it is, for example, EXECUTE "!DIR C:\\*.xlsx /S>C:\\Users\\Me\\Desktop\\Spreadsheets.txt"



------------------------------
Marcus Rhodes
marcus1@thinqware.com
------------------------------

Thanks!



------------------------------
Bob Thomson
President
Synapse Computer Solutions Inc
San Rafael CA US
------------------------------

Brian Cram
Forum|alt.badge.img+3
  • Rocketeer
  • Apr 24, 2024 9:58 AM UTC

Thanks!



------------------------------
Bob Thomson
President
Synapse Computer Solutions Inc
San Rafael CA US
------------------------------

I like the execute !dir example as it directs output to a Windows file. This guaratees that Windows is not prompting, which would stall the D3 process as it has no way to respond. Bob, please keep that in mind.



------------------------------
Brian S. Cram
Principal Technical Support Engineer
Rocket Software
------------------------------